.sidebar {
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    top: 0;
}
.sidebar-item {
    padding: 12px 20px;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
}
.sidebar-item:hover {
    background-color: #e9ecef;
}
.content-area {
    padding: 20px;
}
.role-btn {
    width: 100%;
    margin-bottom: 10px;
    white-space: normal;
}
.tagline {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}
.section-hide {
    display: none;
}
.chat-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
}
.chat-item:hover {
    background-color: #f1f1f1;
}
.chat-item.active {
    background-color: #e7f4ff;
    border-left: 3px solid #0d6efd;
}
.chat-name {
    font-weight: 500;
    margin-bottom: 2px;
}
.chat-preview {
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.content-area {
    padding: 20px;
}
.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}
.thumbs-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.thumb {
            width: 100px;
            height: 56px;
            object-fit: cover;
            border: 2px solid transparent;
            border-radius: 4px;
            cursor: pointer;
        }
        .thumb.active {
            border-color: #0d6efd;
        }
        .field-item {
            padding: 10px 0;
            border-bottom: 1px solid #eee;
        }
        .field-name {
            font-weight: 600;
            color: #333;
        }
.field-value {
    margin-top: 4px;
    color: #555;
    white-space: pre-line;
}
.no-value {
    color: #888;
    font-style: italic;
}
#h1_dom{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
}
#wrap_buttons_head_dom{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
 
        .arrow::after {
            content: " ▸";
            transition: transform 0.3s ease;
            font-size: 0.8em;
        }

        .arrow[aria-expanded="true"]::after {
            transform: rotate(90deg);
            content: " ▾";
        }
        
        .description-area {
            min-height: 300px;
            padding: 20px;
            border-left: 1px solid #dee2e6;
        }
        
        .tech-link {
            cursor: pointer;
        }

#map{        
        width: 100%;
    height: 600px;
}
    .company-card {
        border: 1px solid #e9ecef;
        border-radius: 8px;
        padding: 16px;
        margin-bottom: 12px;
        transition: box-shadow 0.2s;
    }
    .company-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .company-name {
        font-size: 1.2rem;
        font-weight: 500;
        color: #0056b3;
    }
    .company-email {
        color: #666;
        font-size: 0.9rem;
    }
    .actions a {
        margin-right: 10px;
        color: #007bff;
        text-decoration: none;
    }
    .actions a:hover {
        text-decoration: underline;
    }
    .no-companies {
        color: #6c757d;
        font-style: italic;
    }
    .mycircleblue {
    transition: transform 0.2s ease;
}

.mycircleblue:hover {
    transform: scale(1.1);
}

.company-marker {
    pointer-events: auto;
}
.company-marker {
    position: relative;
    /* остальные стили задаются инлайново в JS */
}

.company-marker::after {
    content: attr(data-name);
    position: absolute;
    bottom: -32px; /* чуть ниже кружка */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

.company-marker:hover::after {
    opacity: 1;
    visibility: visible;
}
#cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa;
    padding: 12px;
    text-align: center;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    display: none;
    z-index: 9999;
    font-family: Arial, sans-serif;
}
#cookie-notice button {
    margin-left: 10px;
    padding: 5px 12px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
}

#cookie-notice button:hover {
    background-color: #0056b3;
}