/* Regional Settings Specific Styles */

.dashboard-split-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}

.layout-text-side {
    flex: 1;
    min-width: 320px;
    padding-right: 15px;
}

.layout-image-side {
    flex: 1.4;
    min-width: 320px;
}

/* Sticky Wrapper */
.sticky-combined-wrapper {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dashboard-preview {
    background: #fff;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.dashboard-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.img-caption {
    margin-top: 10px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Annotation Cards */
.annotation-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.annotation-item {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: border-color 0.2s;
}

.annotation-item:hover {
    border-color: var(--accent);
}

.marker-badge {
    background-color: #ef4444;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.item-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.item-content p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Sidebar Styles (Settings Context) */
.settings-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background-color: #f3f4f6;
    color: var(--text-main);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.2s;
}

.settings-back-btn:hover {
    background-color: #e5e7eb;
    color: #000;
}

.settings-group-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    font-weight: 700;
    margin: 20px 0 10px 10px;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .dashboard-split-layout {
        flex-direction: column-reverse;
    }
    .layout-image-side {
        margin-bottom: 30px;
    }
    .sticky-combined-wrapper {
        position: static;
    }
}