/* === COMMON.CSS - Syndi.be - 2024/2025 === */

/* Reset & base */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    min-height: 100vh;
    padding-top: 70px;
    background: var(--bg, #f8f9fa);
    color: var(--text, #212529);
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Custom Scrollbar - Better Contrast */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track, #e2e8f0);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb, #64748b);
    border-radius: 6px;
    border: 2px solid var(--scrollbar-track, #e2e8f0);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover, #475569);
}

/* Firefox scrollbar */
* {
    scrollbar-width: auto;
    scrollbar-color: var(--scrollbar-thumb, #64748b) var(--scrollbar-track, #e2e8f0);
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

main {
    flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--heading, #1a202c);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin: 0 0 1rem 0;
    color: var(--text, #212529);
}

a {
    color: var(--primary, #0066cc);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-hover, #0052a3);
    text-decoration: none;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navbar-bg, #ffffff);
    border-bottom: 1px solid var(--navbar-border, #e2e8f0);
    box-shadow: 0 2px 8px var(--navbar-shadow, rgba(0,0,0,0.05));
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 15px;
}

/* Mobile menu toggle button */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navbar-link);
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggle:hover {
    color: var(--primary);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navbar-brand, #1a202c);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    transition: color 0.2s;
}

.navbar-brand:hover {
    color: var(--primary, #0066cc);
    text-decoration: none;
}

.navbar-brand span {
    color: var(--primary, #0066cc);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    padding: 0.5rem 1rem;
    color: var(--navbar-link, #4a5568);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
    display: block;
}

.nav-link:hover {
    color: var(--primary, #0066cc);
    background: var(--navbar-hover-bg, #f7fafc);
    text-decoration: none;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7em;
    margin-left: 0.4em;
    display: inline-block;
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--dropdown-bg, #ffffff);
    border: 1px solid var(--dropdown-border, #e2e8f0);
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--dropdown-shadow, rgba(0,0,0,0.12));
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
    max-height: 500px;
    overflow-y: auto;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.6rem 1.2rem;
    color: var(--dropdown-link, #4a5568);
    display: block;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background: var(--dropdown-hover-bg, #f7fafc);
    color: var(--primary, #0066cc);
    text-decoration: none;
}

/* Settings Button */
.settings-container {
    position: relative;
}

.settings-btn {
    background: var(--settings-btn-bg, transparent);
    border: 1px solid var(--settings-btn-border, #e2e8f0);
    color: var(--navbar-link, #4a5568);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.settings-btn:hover {
    background: var(--navbar-hover-bg, #f7fafc);
    color: var(--primary, #0066cc);
    border-color: var(--primary, #0066cc);
}

.settings-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    background: var(--settings-bg, #ffffff);
    border: 1px solid var(--settings-border, #e2e8f0);
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--dropdown-shadow, rgba(0,0,0,0.12));
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.settings-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.settings-header h6 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--settings-header-text, #1a202c);
}

.settings-section {
    margin-bottom: 1rem;
}

.settings-section:last-child {
    margin-bottom: 0;
}

.settings-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--settings-label, #4a5568);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.theme-toggle {
    display: flex;
    gap: 0.5rem;
}

.theme-option {
    flex: 1;
    padding: 0.6rem;
    background: var(--theme-option-bg, #f7fafc);
    border: 2px solid var(--theme-option-border, transparent);
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.theme-option:hover {
    border-color: var(--primary, #0066cc);
    background: var(--theme-option-hover-bg, #edf2f7);
}

.theme-option.active {
    border-color: var(--primary, #0066cc);
    background: var(--theme-option-active-bg, #e6f2ff);
    font-weight: 600;
}

.theme-icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    text-align: center;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.btn:hover i {
    transform: translateX(2px);
}

/* Primary Button - Filled with glow effect (inspired by btn-15) */
.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 rgba(66, 153, 225, 0);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.3);
}

/* Outline Button - Border slide animation (inspired by btn-12) */
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

/* Light theme: white background for better visibility */
body.light-theme .btn-outline {
    background: #ffffff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-outline:hover {
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:active {
    transform: scale(0.98);
}

/* Outline Button Reverse - Animation from right to left */
.btn-outline-reverse {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

body.light-theme .btn-outline-reverse {
    background: #ffffff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-reverse::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: right 0.4s ease;
    z-index: -1;
}

.btn-outline-reverse:hover {
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
}

.btn-outline-reverse:hover::before {
    right: 0;
}

.btn-outline-reverse:active {
    transform: scale(0.98);
}

/* Cards */
.card {
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--card-border, #e2e8f0);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px var(--card-shadow, rgba(0,0,0,0.05));
    transition: all 0.3s;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 8px 24px var(--card-shadow-hover, rgba(0,0,0,0.1));
    transform: translateY(-4px);
}

.card h3 {
    margin-top: 0;
}

.card img {
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    text-align: center;
    color: #ffffff;
    margin-top: -70px;
    padding-top: calc(4rem + 70px);
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Theme-specific image visibility */
body.light-theme .dark-theme-only {
    display: none !important;
}

body.dark-theme .light-theme-only {
    display: none !important;
}

body.dark-theme .dark-theme-only {
    display: block !important;
}

.hero-section h1 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-section .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
    flex-shrink: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1920px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    flex-shrink: 0;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 27, 62, 0.9), rgba(25, 47, 89, 0.9));
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 3rem 0;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons-wrapper {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons-wrapper .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.cta-buttons-wrapper .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-buttons-wrapper .btn-outline {
    border-color: white;
    color: white;
}

/* Card Images */
.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

/* Stats Section */
.stats-section {
    background: var(--card-bg);
}

.stat-number {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-label {
    margin: 0;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 2rem 0;
    text-align: center;
    width: 100%;
    clear: both;
    margin-top: auto;
}

footer a {
    color: var(--footer-link, #cbd5e0);
}

footer a:hover {
    color: var(--footer-link-hover, #ffffff);
}

/* ============================================
    NEWS / BLOG PAGE
    ============================================ */

.news-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 2rem;
    align-items: start;
}

.news-sidebar {
    position: sticky;
    top: 90px;
}

.news-sidebar-title {
    margin-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
}

.news-post-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.news-post-link {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s;
}

.news-post-link:hover {
    background: var(--hover);
    text-decoration: none;
}

.news-post-link.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.12);
}

.news-post-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--hover);
}

.news-post-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.news-post-title {
    font-weight: 700;
    color: var(--heading);
    font-size: 0.95rem;
    line-height: 1.25;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-post-date {
font-size: 0.85rem;
color: var(--text-muted, #6c757d);
}

.news-article {
background: var(--card-bg);
border: 1px solid var(--card-border);
border-radius: 16px;
box-shadow: 0 4px 12px var(--card-shadow);
overflow: hidden;
}

.news-article-hero {
    width: 100%;
    height: 360px;
    display: block;
    object-fit: cover;
    background: var(--hover);
}

@media (max-width: 992px) {
    .news-article-hero {
        height: 240px;
    }
}

.news-article-header {
    padding: 1.75rem 2rem 1rem 2rem;
}

.news-article-title {
margin: 0;
}

.news-article-date {
    margin-top: 0.5rem;
    color: var(--text-muted, #6c757d);
    font-size: 0.95rem;
}

.news-article-content {
    padding: 0 2rem 2rem 2rem;
}

.news-article-content img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 992px) {
    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        position: static;
    }
}

/* ============================================= */
/* === FORM ELEMENTS === */
/* ============================================= */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--heading);
}

.form-group label i {
    margin-right: 0.5rem;
    color: var(--primary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--card-border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

/* Override browser autofill styling for dark theme */
body.dark-theme .form-control:-webkit-autofill,
body.dark-theme .form-control:-webkit-autofill:hover,
body.dark-theme .form-control:-webkit-autofill:focus,
body.dark-theme .form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #1a202c inset !important;
    -webkit-text-fill-color: #e2e8f0 !important;
    box-shadow: 0 0 0 1000px #1a202c inset !important;
    border: 2px solid #4a5568 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Override browser autofill styling for light theme */
body.light-theme .form-control:-webkit-autofill,
body.light-theme .form-control:-webkit-autofill:hover,
body.light-theme .form-control:-webkit-autofill:focus,
body.light-theme .form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #f8f9fa inset !important;
    -webkit-text-fill-color: #212529 !important;
    box-shadow: 0 0 0 1000px #f8f9fa inset !important;
    border: 2px solid #e2e8f0 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ============================================= */
/* === BUTTONS === */
/* ============================================= */

/* Submit Button - Form buttons with slide animation (inspired by btn-12/23) */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-submit:hover {
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.4);
}

.btn-submit:hover::before {
    left: 0;
}

.btn-submit:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.3);
}

.btn-submit i {
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(3px);
}

.btn-submit.full-width {
    width: 100%;
}

/* Filled variant for submit buttons */
.btn-submit.btn-filled {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 rgba(66, 153, 225, 0);
}

.btn-submit.btn-filled::before {
    display: none;
}

.btn-submit.btn-filled:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.4);
}

.btn-submit.btn-filled:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.3);
}

/* ============================================= */
/* === ALERTS === */
/* ============================================= */

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert i {
    margin-top: 0.125rem;
}

.alert-warning {
    background: #cdd0ff;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.alert-danger {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.alert-success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.alert-info {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    color: #0c5460;
}

/* Dark theme variants for alerts */
body.dark-theme .alert-info {
    background: rgba(23, 162, 184, 0.15);
    color: #7dd3fc;
    border-left-color: #17a2b8;
}

body.dark-theme .alert-warning {
    background: rgba(255, 193, 7, 0.15);
    color: #ffd54f;
    border-left-color: #ffc107;
}

body.dark-theme .alert-success {
    background: rgba(40, 167, 69, 0.15);
    color: #86efac;
    border-left-color: #28a745;
}

body.dark-theme .alert-danger {
    background: rgba(220, 53, 69, 0.15);
    color: #fca5a5;
    border-left-color: #dc3545;
}

/* ============================================= */
/* === MODAL === */
/* ============================================= */
/* Modal styles moved to line 1150+ for better organization */

/* ============================================= */
/* === INFO CARDS & SECTIONS === */
/* ============================================= */

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px var(--card-shadow);
}

.info-card h2 {
    margin-top: 0;
    color: var(--heading);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.info-card h3 {
    color: var(--heading);
    font-size: 1.25rem;
    margin-top: 1.5rem;
}

.info-section {
    line-height: 1.8;
}

.info-section b,
.info-section strong {
    color: var(--heading);
    display: block;
    margin-bottom: 0.5rem;
}

.info-section p {
    margin-bottom: 1rem;
}

.info-section ul,
.info-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.info-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* ============================================= */
/* === ARTICLE CONTENT (for policy pages) === */
/* ============================================= */

.article-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 2px 8px var(--card-shadow);
}

.article-content h2 {
    color: var(--heading);
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    color: var(--heading);
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-content h4 {
    color: var(--heading);
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-content p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.article-content ul,
.article-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.article-content strong,
.article-content b {
    color: var(--heading);
    font-weight: 600;
}

.article-content em,
.article-content i {
    font-style: italic;
}

.article-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.article-content a:hover {
    color: var(--primary-hover);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    overflow-x: auto;
    display: block;
}

.article-content table td,
.article-content table th {
    border: 1px solid var(--card-border);
    padding: 0.75rem;
    text-align: left;
}

.article-content table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.article-content hr {
    border: none;
    border-top: 1px solid var(--card-border);
    margin: 2rem 0;
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text);
}

@media (max-width: 768px) {
    .article-content {
        padding: 1.5rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.25rem;
    }
}

/* Notice Boxes */
.notice-box {
    background: rgba(var(--primary-rgb, 59, 130, 246), 0.08);
    border: 1px solid rgba(var(--primary-rgb, 59, 130, 246), 0.3);
    border-left: 4px solid var(--primary);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.notice-box i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.notice-box p:last-child {
    margin-bottom: 0;
}

body.dark-theme .notice-box {
    background: rgba(var(--primary-rgb, 59, 130, 246), 0.12);
    border-color: rgba(var(--primary-rgb, 59, 130, 246), 0.4);
}

.notice-box.info {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    border-left-color: #3b82f6;
}

.notice-box.info i {
    color: #3b82f6;
}

/* Region Filter */
.region-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--card-border);
}

.region-link {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    background: var(--hover);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.region-link:hover {
    background: var(--primary);
    color: white;
}

.region-link.active {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

/* Search Form Inline */
.search-form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.search-form-inline .form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

.search-form-inline .form-control {
    width: 100%;
}

@media (max-width: 576px) {
    .search-form-inline {
        flex-direction: column;
    }
    
    .search-form-inline .form-group,
    .search-form-inline .btn {
        width: 100%;
    }
}

/* Info Lists */
.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--card-border);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list i {
    color: var(--primary);
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

/* ============================================= */
/* === GRID LAYOUTS === */
/* ============================================= */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.two-column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

/* ============================================= */
/* === LINKS & BUTTONS === */
/* ============================================= */

.link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: var(--bg);
    border-radius: 6px;
    transition: all 0.3s;
    margin-top: 0.5rem;
    font-weight: 500;
}

.link-button:hover {
    background: var(--primary);
    color: white;
    text-decoration: none;
}

.link-button i {
    font-size: 0.9em;
}

.text-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.text-link:hover {
    text-decoration: none;
}

/* ============================================= */
/* === THEME DEFINITIONS (Combined) === */
/* ============================================= */

/* Light Theme (Default) */
:root, body.light-theme {
    --bg: #f8f9fa;
    --text: #212529;
    --heading: #1a202c;
    
    --hover: #f1f5f9;
    
    --primary: #0066cc;
    --primary-hover: #0052a3;
    
    --navbar-bg: #ffffff;
    --navbar-brand: #1a202c;
    --navbar-link: #4a5568;
    --navbar-border: #e2e8f0;
    --navbar-shadow: rgba(0,0,0,0.05);
    --navbar-hover-bg: #f7fafc;
    
    --dropdown-bg: #ffffff;
    --dropdown-link: #4a5568;
    --dropdown-border: #e2e8f0;
    --dropdown-shadow: rgba(0,0,0,0.12);
    --dropdown-hover-bg: #f7fafc;
    
    --settings-bg: #ffffff;
    --settings-border: #e2e8f0;
    --settings-header-text: #1a202c;
    --settings-label: #4a5568;
    --settings-btn-bg: transparent;
    --settings-btn-border: #e2e8f0;
    
    --theme-option-bg: #f7fafc;
    --theme-option-border: transparent;
    --theme-option-hover-bg: #edf2f7;
    --theme-option-active-bg: #e6f2ff;
    
    --btn-primary-bg: #0066cc;
    --btn-primary-hover: #0052a3;
    --btn-outline-color: #0066cc;
    --btn-outline-border: #0066cc;
    --btn-outline-hover-bg: #0066cc;
    
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --card-shadow: rgba(0,0,0,0.05);
    --card-shadow-hover: rgba(0,0,0,0.1);
    
    --hero-gradient-start: #9797978c;
    --hero-gradient-end: #91919189;
    
    --footer-bg: #f7fafc;
    --footer-text: #2d3748;
    --footer-link: #0066cc;
    --footer-link-hover: #0052a3;
    
    --scrollbar-track: #e2e8f0;
    --scrollbar-thumb: #94a3b8;
    --scrollbar-thumb-hover: #64748b;
}

/* Dark Theme */
body.dark-theme {
    --bg: #1a202c;
    --text: #e2e8f0;
    --heading: #f7fafc;
    
    --hover: rgba(255,255,255,0.06);
    
    --scrollbar-track: #2d3748;
    --scrollbar-thumb: #718096;
    --scrollbar-thumb-hover: #a0aec0;
    
    --primary: #4299e1;
    --primary-hover: #63b3ed;
    
    --navbar-bg: #2d3748;
    --navbar-brand: #f7fafc;
    --navbar-link: #cbd5e0;
    --navbar-border: rgba(255,255,255,0.1);
    --navbar-shadow: rgba(0,0,0,0.3);
    --navbar-hover-bg: rgba(255,255,255,0.05);
    
    --dropdown-bg: #2d3748;
    --dropdown-link: #e2e8f0;
    --dropdown-border: #4a5568;
    --dropdown-shadow: rgba(0,0,0,0.3);
    --dropdown-hover-bg: rgba(255,255,255,0.1);
    
    --settings-bg: #2d3748;
    --settings-border: #4a5568;
    --settings-header-text: #f7fafc;
    --settings-label: #cbd5e0;
    --settings-btn-bg: transparent;
    --settings-btn-border: #4a5568;
    
    --theme-option-bg: rgba(255,255,255,0.05);
    --theme-option-border: transparent;
    --theme-option-hover-bg: rgba(255,255,255,0.1);
    --theme-option-active-bg: rgba(66,153,225,0.2);
    
    --btn-primary-bg: #4299e1;
    --btn-primary-hover: #63b3ed;
    --btn-outline-color: #4299e1;
    --btn-outline-border: #4299e1;
    --btn-outline-hover-bg: #4299e1;
    
    --card-bg: #2d3748;
    --card-border: #4a5568;
    --card-shadow: rgba(0,0,0,0.2);
    --card-shadow-hover: rgba(0,0,0,0.4);
    
    --hero-gradient-start: #1e3a5fa5;
    --hero-gradient-end: #0d1b2a95;
    
    --footer-bg: #171923;
    --footer-text: #a0aec0;
    --footer-link: #a0aec0;
    --footer-link-hover: #ffffff;
    
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

/* ============================================= */
/* === PRICING SECTION === */
/* ============================================= */

.pricing-section {
    background: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px var(--card-shadow-hover);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 8px 24px var(--card-shadow-hover);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--card-border);
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--heading);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
}

.price span {
    font-size: 1rem;
    color: var(--text);
    font-weight: 400;
}

.pricing-body {
    padding: 1.5rem 0;
}

.pricing-body p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-features li i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.pricing-footer {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
}

.modal-dialog {
    width: 90%;
    max-width: 900px;
    margin: auto 0;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--heading);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-close:hover {
    background: var(--navbar-hover-bg);
}

.modal-body {
    padding: 2rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead {
    background: var(--primary);
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
}

.comparison-table tbody tr:hover {
    background: var(--navbar-hover-bg);
}

.comparison-table .text-success {
    color: #48bb78;
}

.comparison-table .text-danger {
    color: #f56565;
}

/* ============================================= */
/* === CONTACT SECTION === */
/* ============================================= */

.contact-section {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('../../images/BGR_contact.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-section .section-title h2,
.contact-section .section-title p {
    color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-section .info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
}

.contact-section .info-card > h3 {
    margin: 0 0 1.5rem 0;
    color: var(--heading);
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.75rem;
}

.contact-section .info-card > i,
.contact-section .info-card p i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.contact-section .info-card h4 {
    margin: 0.5rem 0;
    color: var(--heading);
    font-size: 1.1rem;
}

.contact-section .info-card p {
    margin: 0;
    line-height: 1.7;
}

.contact-section .info-card a {
    color: var(--primary);
    text-decoration: none;
}

.contact-section .info-card a:hover {
    text-decoration: none;
}

.contact-section .info-card .btn {
    margin-top: 1.5rem;
    width: 100%;
}

.contact-section .info-card .btn-primary {
    color: #ffffff !important;
    text-decoration: none !important;
}

.contact-section .info-card .btn-primary i {
    color: #ffffff !important;
}

.contact-section .info-card .btn-primary:hover {
    text-decoration: none !important;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.contact-item:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
}

.contact-item i {
    font-size: 1.75rem;
    color: var(--primary);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin: 0 0 0.5rem 0;
    color: var(--heading);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    line-height: 1.7;
    color: var(--text);
}

.info-note {
    background: var(--navbar-hover-bg);
    border-left: 4px solid var(--primary);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.contact-form-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--heading);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--card-border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    display: block;
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #48bb78;
}

.form-message.error {
    display: block;
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #f56565;
}

/* Compact Contact Card - Single Card Layout */
.contact-card-single {
    max-width: 900px;
    margin: 2rem auto;
    background: #2d3748;
    border: 1px solid #4a5568;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.contact-info-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #4a5568;
}

.contact-item-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-item-compact i {
    font-size: 1.1rem;
    color: #4299e1;
    flex-shrink: 0;
}

.contact-item-compact span {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-item-compact a {
    color: #4299e1;
    text-decoration: none;
}

.contact-item-compact a:hover {
    text-decoration: none;
}

.contact-note {
    background: rgba(66, 153, 225, 0.1);
    border-left: 3px solid #4299e1;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.contact-note p {
    margin: 0;
    color: #cbd5e0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-form-compact {
    margin-top: 1.5rem;
}

.contact-form-compact .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form-compact .form-group {
    margin-bottom: 1rem;
}

.contact-form-compact label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #f7fafc;
    font-size: 0.95rem;
}

.contact-form-compact input,
.contact-form-compact textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #4a5568;
    border-radius: 8px;
    background: #1a202c;
    color: #e2e8f0;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.contact-form-compact input:focus,
.contact-form-compact textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.contact-form-compact textarea {
    resize: vertical;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-buttons .btn {
    flex: 1;
    position: relative;
    z-index: 1;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.contact-buttons .btn::before {
    z-index: -1;
}

.contact-buttons .btn:hover {
    color: #ffffff;
}

/* Responsive adjustments for compact contact */
@media (max-width: 768px) {
    .contact-info-compact {
        grid-template-columns: 1fr;
    }
    
    .contact-form-compact .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .contact-card-single {
        padding: 1.5rem;
    }
}

/* ============================================= */
/* === COOKIE CONSENT BANNER === */
/* ============================================= */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 3px solid var(--primary);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 1.5rem;
    transition: transform 0.4s ease-in-out;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(100%);
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h4 {
    margin: 0 0 0.5rem 0;
    color: var(--heading);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-consent-text h4 i {
    color: var(--primary);
}

.cookie-consent-text p {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-link {
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}

.cookie-link:hover {
    color: var(--primary-hover);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .cookie-consent {
        max-height: 80vh;
        padding: 1rem;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.9rem;
    }
    
    .cookie-consent-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-consent-actions .btn {
        width: 100%;
        padding: 0.875rem 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modal-dialog {
        width: 95%;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .navbar-nav {
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--navbar-bg, #ffffff);
        border-bottom: 1px solid var(--navbar-border, #e2e8f0);
        display: none;
        padding: 1rem;
        padding-bottom: 2rem;
        overflow-y: auto;
        box-shadow: 0 4px 8px var(--navbar-shadow);
        z-index: 999;
    }
    
    .navbar-nav.active {
        display: flex;
    }
    
    .nav-item.dropdown .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
    }
    
    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* Settings panel - fullwidth on mobile */
    .settings-container {
        width: 100%;
        order: -1;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border);
    }
    
    .settings-btn {
        width: 100%;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .settings-panel {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid var(--border);
        margin-top: 0.75rem;
        display: none;
    }
    
    .settings-panel.active {
        display: block;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-section {
        padding-top: calc(3rem + 60px);
        margin-top: -60px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .hero-section .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================= */
/* === PAGE HEADERS === */
/* ============================================= */

.page-header {
    background: var(--card-bg);
    border-bottom: 2px solid var(--card-border);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    margin: 0;
    color: var(--heading);
}

.page-header .lead {
    margin: 0.5rem 0 0 0;
    color: var(--text);
    opacity: 0.9;
}

@media (min-width: 768px) {
    .page-header h1 {
        font-weight: 600;
    }
}

.syndi-page-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.syndi-page-header-left {
    flex: 1;
    min-width: 200px;
}

.syndi-page-header-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .syndi-page-header-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .syndi-page-header-buttons {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ============================================= */
/* === PHOTO GRID === */
/* ============================================= */

.vme-photos,
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.vme-photo-item,
.photo-item {
    width: 100%;
    height: 375px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    background-size: cover;
    background-position: center 20%; /* 30% naar boven: veel minder lucht, meer voorgrond */
}

.vme-photo-item img,
.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* ============================================= */
/* === MAP STYLES === */
/* ============================================= */

#map,
.map-container {
    position: relative;
    top: 0;
    height: 50vh;
    width: 100%;
    min-height: 400px;
}

#heroMap {
    width: 100%;
    height: 60vh;
    min-height: 500px;
    margin-bottom: 2rem;
}

/* ============================================= */
/* === VME INFO SECTION === */
/* ============================================= */

.vme-info-section {
    background: var(--card-bg, #fff);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Google Maps InfoWindow text color fix */
.gm-style .gm-style-iw-c {
    color: #333 !important;
}

.gm-style .gm-style-iw-d {
    color: #333 !important;
}

/* ============================================= */
/* === DETAIL SECTIONS === */
/* ============================================= */

.detail-section,
.vme-detail-section {
    padding: 2rem 0;
}

.syndicus-notice,
.info-notice {
    background: var(--bg);
    border-left: 4px solid var(--primary);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.syndicus-notice i,
.info-notice i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.kbo-link,
.external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: var(--bg);
    border-radius: 6px;
    transition: all 0.3s;
    margin-top: 0.5rem;
    font-weight: 500;
}

.kbo-link:hover,
.external-link:hover {
    background: var(--primary);
    color: white;
    text-decoration: none;
}

.kbo-link i,
.external-link i {
    font-size: 0.9em;
}

.extra-info-list {
    list-style: none;
    padding: 0;
}

.extra-info-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--card-border);
}

.extra-info-list li:last-child {
    border-bottom: none;
}

.extra-info-list i {
    color: var(--primary);
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

/* ============================================= */
/* === DATA TABLES === */
/* ============================================= */

.data-table,
.syndicus-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.data-table thead,
.syndicus-table thead {
    background: var(--primary);
    color: white;
}

.data-table th,
.syndicus-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.data-table td,
.syndicus-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--card-border);
}

.data-table tbody tr:hover,
.syndicus-table tbody tr:hover {
    background: var(--bg);
}

@media (max-width: 768px) {
    .data-table,
    .syndicus-table {
        font-size: 0.9rem;
    }
    
    .data-table thead,
    .syndicus-table thead {
        display: none;
    }
    
    .data-table tr,
    .syndicus-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--card-border);
        border-radius: 8px;
        padding: 1rem;
    }
    
    .data-table td,
    .syndicus-table td {
        display: block;
        text-align: left;
        padding: 0.5rem 0;
        border: none;
    }
    
    .data-table td::before,
    .syndicus-table td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 0.25rem;
        color: var(--primary);
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .syndicus-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================= */
/* === CTA BOXES === */
/* ============================================= */

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
}

.cta-box h3 {
    color: white;
    margin: 0 0 0.5rem 0;
}

.cta-box p {
    margin: 0 0 1.5rem 0;
    opacity: 0.95;
}

.cta-box .btn-submit,
.cta-box .btn {
    background: white;
    color: var(--primary);
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-box .btn-submit::before {
    display: none;
}

.cta-box .btn-submit:hover,
.cta-box .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    background: var(--primary);
    color: white;
}

/* ============================================= */
/* === ADDITIONAL BUTTON VARIANTS === */
/* ============================================= */

.info-btn,
.btn-info {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 500;
}

.info-btn:hover,
.btn-info:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* ============================================= */
/* === SYNDICUS SPECIFIC STYLES === */
/* ============================================= */

.syndicus-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.syndicus-section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.syndicus-section h3 {
    margin-top: 0;
    color: var(--heading);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.syndicus-section p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.syndicus-section a {
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.syndicus-section a:hover {
    text-decoration: none;
}

.syndicus-section i {
    color: var(--primary);
    width: 20px;
}

.syndicus-section hr {
    border: none;
    border-top: 1px solid var(--card-border);
    margin: 1rem 0;
}

/* ============================================= */
/* === NOTICE & ALERT VARIANTS === */
/* ============================================= */

.limited-info {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    color: #856404;
}

.dark-theme .limited-info {
    background: rgba(255, 193, 7, 0.15);
    color: #ffd54f;
    border-left-color: #ffc107;
}


/* ============================================= */
/* === DOWNLOAD PAGES STYLES === */
/* ============================================= */

.download-info-card,
.download-products-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px var(--card-shadow);
}

.download-info-card h2,
.download-products-card h2 {
    margin-top: 0;
    color: var(--heading);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.download-info-card h2 i,
.download-products-card h2 i {
    color: var(--primary);
}

.download-info-card p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.products-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
}

.products-table thead {
    background: var(--primary);
    color: white;
}

.products-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
}

.products-table tbody tr {
    border-bottom: 1px solid var(--card-border);
    transition: background-color 0.2s;
}

.products-table tbody tr:hover {
    background: var(--navbar-hover-bg);
}

.products-table td {
    padding: 1rem;
}

.product-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.price-note {
    font-size: 0.75rem;
    color: var(--text-muted, #718096);
    margin-top: 0.25rem;
}

.price-disclaimer {
    text-align: center;
    color: var(--text-muted, #718096);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-large {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
}

.btn-large i {
    margin-right: 0.5rem;
}

/* Order/Billing Grid */
.order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .order-grid {
        grid-template-columns: 1fr;
    }
}

.order-summary-section,
.billing-form-section {
    width: 100%;
}

.order-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.order-summary-table th {
    text-align: left;
    padding: 0.75rem;
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.order-summary-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--card-border);
}

.order-summary-table tr:last-child td {
    border-bottom: none;
}

.order-summary-table .summary-divider td {
    padding: 0.5rem;
    border: none;
}

.order-summary-table .summary-divider hr {
    border: none;
    border-top: 2px solid var(--card-border);
    margin: 0;
}

.order-summary-table .summary-total {
    font-size: 1.125rem;
}

.order-summary-table .summary-total td {
    padding: 1rem 0.75rem;
    background: var(--navbar-hover-bg);
}

.order-details {
    margin-bottom: 2rem;
}

.payment-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.payment-info h3 {
    color: var(--heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-info h3 i {
    color: var(--primary);
}

.payment-info p {
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

/* Checkbox Labels */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.125rem;
    cursor: pointer;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.checkbox-label span {
    flex: 1;
    line-height: 1.6;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: none;
}

.checkbox-label a:hover {
    color: var(--primary-hover);
}

/* Form Control (select elements) */
select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

body.dark-theme select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23cbd5e0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

/* reCAPTCHA Container */
.g-recaptcha {
    display: inline-block;
}

/* ============================================= */
/* === LICENSE OPTIONS GRID === */
/* ============================================= */

.license-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.license-option {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s;
}

.license-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.license-option i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.license-option strong {
    display: block;
    color: var(--heading);
    margin-bottom: 0.25rem;
}

.license-option span {
    font-size: 0.85rem;
    color: var(--text);
}

/* Dark theme adjustment for license options */
body.dark-theme .license-option {
    background: var(--navbar-hover-bg);
    border-color: var(--card-border);
}

body.dark-theme .license-option:hover {
    background: rgba(66, 153, 225, 0.1);
    border-color: var(--primary);
}

/* Button icon styling */
.btn-submit i {
    margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .download-info-card,
    .download-products-card {
        padding: 1.5rem;
    }
    
    .products-table th,
    .products-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        width: 100%;
        font-size: 1rem;
    }
    
    .order-summary-table {
        font-size: 0.9rem;
    }
}

/* ============================================= */
/* === VME SEARCH PAGE STYLES === */
/* ============================================= */

.vme-search-section {
    padding: 3rem 0;
    min-height: 50vh;
}

/* Search Card */
.search-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px var(--card-shadow);
}

.search-step {
    margin-bottom: 1.5rem;
    animation: fadeIn 0.3s ease-in;
}

.search-step label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--heading);
}

.search-step label i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text);
    opacity: 0.7;
}

.search-loader {
    text-align: center;
    padding: 1rem;
    color: var(--primary);
    font-size: 1.1rem;
}

.search-loader i {
    margin-right: 0.5rem;
}

/* View Controls */
.view-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
    background: var(--bg);
    padding: 0.25rem;
    border-radius: 8px;
}

.view-btn {
    padding: 0.75rem 1.25rem;
    border: none;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.view-btn:hover {
    background: var(--navbar-hover-bg);
    color: var(--primary);
}

.view-btn.active {
    background: var(--primary);
    color: white;
}

.result-count {
    font-weight: 600;
    color: var(--text);
}

/* Results Views */
.results-view {
    display: none;
    animation: fadeIn 0.4s ease-in;
}

/* Photo View */
.photo-view {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-bottom: 5rem;
    padding-bottom: 3rem;
}

@media (max-width: 1400px) {
    .photo-view {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .photo-view {
        grid-template-columns: repeat(3, 1fr);
    }
}

.vme-photo-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}

.vme-photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--card-shadow-hover);
}

.vme-photo-link {
    display: block;
    text-decoration: none;
    color: white;
}

.vme-photo {
    width: 100%;
    height: 250px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: #ccc;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    border: 1px solid #999;
}

.vme-photo-overlay {
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1rem 0.5rem;
}

.vme-photo-info {
    color: white;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* List View */
.list-view {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: visible;
    margin-bottom: 5rem;
    padding-bottom: 2rem;
}

.vme-list-table {
    width: 100%;
    border-collapse: collapse;
}

.vme-list-table thead {
    background-color: var(--navbar-bg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06));
}

.vme-list-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--navbar-link);
    border-bottom: 2px solid var(--card-border);
}

.vme-list-table td {
    padding: 1rem;
    color: var(--text);
    border-bottom: 1px solid var(--card-border);
}

.vme-list-table tbody tr:hover {
    background: var(--navbar-hover-bg);
}

.vme-list-table tbody tr.clickable-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.vme-list-table a {
    color: var(--primary);
    text-decoration: none;
}

.vme-list-table a.syndi-table-info-button,
.vme-list-table a.syndi-table-info-button:visited {
    color: #f97316;
    text-decoration: none;
}

.vme-list-table a.syndi-table-info-button:hover,
.vme-list-table a.syndi-table-info-button:active {
    color: #ffffff;
    text-decoration: none;
}

.vme-list-table a.synd-link-button,
.vme-list-table a.synd-link-button:visited {
    color: #06b6d4;
    text-decoration: none;
}

.vme-list-table a.synd-link-button:hover,
.vme-list-table a.synd-link-button:active {
    color: #ffffff;
    text-decoration: none;
}

.vme-list-table a.syndi-download-button,
.vme-list-table a.syndi-download-button:visited {
    color: #8b5cf6;
    text-decoration: none;
}

.vme-list-table a.syndi-download-button:hover,
.vme-list-table a.syndi-download-button:active {
    color: #ffffff;
    text-decoration: none;
}

.vme-list-table a:hover {
    text-decoration: none;
}

/* Map View */
.map-view {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    padding: 1rem;
    margin-bottom: 5rem;
    padding-bottom: 3rem;
}

#map {
    height: 500px;
    border-radius: 8px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text);
}

.no-results i {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.no-results h3 {
    color: var(--heading);
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Header Gradient */
.page-header-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-header-gradient h1 {
    margin: 0;
    font-size: 2rem;
    color: white;
}

.page-header-gradient .lead {
    opacity: 0.9;
    margin-top: 0.5rem;
    color: white;
}

/* Region Buttons */
.region-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
}

.region-btn {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.region-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.region-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.region-btn.combo {
    border-color: #9c27b0;
    color: #9c27b0;
}

.region-btn.combo:hover,
.region-btn.combo.active {
    background: #9c27b0;
    color: white;
    border-color: #9c27b0;
}

.region-btn i {
    font-size: 1rem;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.stat-item {
    background: var(--card-bg);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--card-border);
}

.stat-item strong {
    color: var(--primary);
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 3rem;
    color: var(--primary);
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.loading-spinner.visible {
    display: block;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.page-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* License CTA */
.license-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
}

.license-cta i.fa-lock {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.license-cta h2 {
    margin: 0 0 1rem 0;
}

.license-cta p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.license-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Google Maps Info Window Styling */
.gm-style .gm-style-iw-c {
    border: none !important;
    box-shadow: 0 2px 7px rgba(0,0,0,0.3) !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
}

.gm-style .gm-style-iw-t::after {
    background: none !important;
    box-shadow: none !important;
}

body.dark-theme .gm-style .gm-style-iw-c {
    background: #2d3748 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6) !important;
}

body.dark-theme .gm-style .gm-style-iw-t::after {
    background: #2d3748 !important;
}

.gm-style .gm-ui-hover-effect {
    opacity: 0.8 !important;
}

.gm-style .gm-ui-hover-effect:hover {
    opacity: 1 !important;
}

body.dark-theme .gm-style .gm-ui-hover-effect {
    opacity: 0.6 !important;
}

body.dark-theme .gm-style .gm-ui-hover-effect > span {
    background-color: #e2e8f0 !important;
}

/* Map View Switch Buttons */
.map-view-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: white;
    color: #333;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.map-view-btn:hover {
    background: var(--primary);
    color: white;
}

.map-view-btn.active {
    background: var(--primary);
    color: white;
}

/* VME Mobile Responsiveness */
@media (max-width: 768px) {
    .search-card {
        padding: 1.5rem;
    }
    
    .view-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .view-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .photo-view {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .vme-list-table {
        font-size: 0.85rem;
    }
    
    .vme-list-table th,
    .vme-list-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .vme-list-table thead {
        display: none;
    }
    
    .vme-list-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--card-border);
        border-radius: 8px;
    }
    
    .vme-list-table td {
        display: block;
        text-align: right;
        padding: 0.5rem 1rem;
        border: none;
    }
    
    .vme-list-table td:before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
    }
    
    .region-buttons {
        gap: 0.5rem;
    }
    
    .region-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .page-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* === SYNDICUS TOP PAGES (Top 100/500) === */
.region-selector {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.region-selector label {
    font-weight: 600;
    color: var(--heading);
}

.region-selector select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    background: var(--input-bg, var(--bg));
    color: var(--text);
    font-size: 0.95rem;
    min-width: 200px;
}

.warning-box {
    background: linear-gradient(135deg, rgba(var(--primary-rgb, 59, 130, 246), 0.1), rgba(var(--primary-rgb, 59, 130, 246), 0.05));
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.warning-box i {
    color: var(--primary);
    font-size: 1.25rem;
}

.warning-box span {
    color: var(--text);
    font-weight: 500;
}

/* === SYNDICUS RANKING === */
.syndicus-ranking {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
}

.syndicus-row {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--card-border);
    transition: background 0.2s;
}

.syndicus-row:hover {
    background: var(--hover);
}

.syndicus-row:last-child {
    border-bottom: none;
}

.syndicus-rank {
    width: 60px;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}

.syndicus-rank.top-3 {
    color: #f59e0b;
    font-size: 1.1rem;
}

.syndicus-rank.top-10 {
    color: var(--primary);
}

.syndicus-rank i {
    margin-right: 0.25rem;
}

.syndicus-name {
    flex: 1;
    font-weight: 500;
    color: var(--heading);
}

.syndicus-count {
    margin-right: 1rem;
}

.syndicus-count a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.syndicus-count a:hover {
    text-decoration: none;
}

.syndicus-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.syndicus-actions .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

@media (max-width: 768px) {
    .syndicus-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .syndicus-name {
        flex: 1 1 100%;
        order: 2;
    }
    
    .syndicus-rank {
        order: 1;
    }
    
    .syndicus-count {
        order: 3;
        margin-right: 0;
    }
    
    .syndicus-actions {
        order: 4;
        width: 100%;
    }
}

/* Utility classes */
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Access denied / CTA box */
.access-denied {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 600px;
    margin: 2rem auto;
}

.access-denied i {
    font-size: 4rem;
    color: var(--warning, #f59e0b);
    margin-bottom: 1.5rem;
}

.access-denied h2 {
    color: var(--heading);
    margin-bottom: 1rem;
}

.access-denied p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.access-denied .btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === PUBLIC BUILDINGS PAGE === */
.public-search-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.public-search-form .form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.public-search-form .form-group {
    flex: 1;
    min-width: 200px;
}

.public-search-form .form-group-button {
    flex: 0 0 auto;
    min-width: auto;
}

.public-search-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--heading);
}

.public-search-form label i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.public-table {
    font-size: 0.9rem;
}

.public-table th,
.public-table td {
    padding: 0.75rem 0.5rem;
    white-space: nowrap;
}

.public-table td:nth-child(3) {
    white-space: normal;
    max-width: 200px;
}

.public-table tbody tr:hover {
    background: rgba(var(--primary-rgb, 59, 130, 246), 0.10);
}

body.dark-theme .public-table tbody tr:hover {
    background: rgba(66, 153, 225, 0.15);
}

.result-info {
    padding: 1rem;
    background: var(--info-bg, #e0f2fe);
    border-radius: 8px;
    margin-bottom: 1rem;
    color: var(--info-text, #0369a1);
}

.result-info i {
    margin-right: 0.5rem;
}

.result-info .text-muted {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-card--empty {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
}

.info-card--empty i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-card--empty h3 {
    margin-bottom: 0.5rem;
}

.info-card--empty p {
    color: var(--text-muted);
}

/* === MODAL STYLES === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: var(--card-bg, #ffffff);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 1200px;
    width: 95%;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--card-border);
    background: var(--card-bg);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--heading);
}

.modal-header h2 i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--danger, #dc2626);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-loader {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.modal-loader i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--primary);
}

.modal-table {
    font-size: 0.85rem;
}

.modal-table th,
.modal-table td {
    padding: 0.6rem 0.5rem;
}

/* Street View in modal */
.modal-streetview {
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    border-radius: 0;
    overflow: hidden;
    height: 300px;
    background: var(--hover, #f1f5f9);
}

.modal-streetview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.streetview-unavailable {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    gap: 0.5rem;
    font-size: 1rem;
}

.streetview-unavailable i {
    font-size: 1.5rem;
}

.building-address {
    background: var(--building-address-bg, #e0f2fe);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--building-address-text, #0369a1);
}

.dark-theme .building-address {
    background: var(--building-address-bg-dark, #1e3a5f);
    color: var(--building-address-text-dark, #7dd3fc);
}

.building-address i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.dark-theme .building-address i {
    color: #7dd3fc;
}

.login-required {
    text-align: center;
    padding: 3rem 2rem;
}

.login-required i {
    font-size: 3rem;
    color: var(--warning, #f59e0b);
    margin-bottom: 1rem;
}

.login-required h3 {
    margin-bottom: 0.5rem;
}

.login-required p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: var(--danger, #dc2626);
}

.error-message i {
    margin-right: 0.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Trend indicators */
.trend-up {
    color: #22c55e;
    font-weight: 500;
}

.trend-down {
    color: #ef4444;
    font-weight: 500;
}

/* Sortable table headers */
.sortable-table th.sortable {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.sortable-table th.sortable:hover {
    background: var(--hover, #f1f5f9);
}

.sortable-table th.sortable i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.sortable-table th.sortable:hover i {
    color: var(--primary);
}

.sortable-table th.sortable i.fa-sort-up,
.sortable-table th.sortable i.fa-sort-down {
    color: var(--primary);
}

.syndi-sortable-table-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: visible;
    margin: 1.5rem 0;
}

.syndi-sortable-table {
    width: 100%;
    border-collapse: collapse;
}

.syndi-sortable-table thead {
    background-color: var(--navbar-bg);
    background-image: linear-gradient(to right, rgb(39, 50, 71), rgb(39, 50, 71));
}

body.light-theme .syndi-sortable-table thead {
    background-color: #f1f5f9;
    background-image: linear-gradient(to right, #e2e8f0, #f1f5f9);
}

.syndi-sortable-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--navbar-link);
    border-bottom: 2px solid var(--card-border);
    white-space: nowrap;
}

body.light-theme .syndi-sortable-table th {
    color: #334155;
}

.syndi-sortable-table td {
    padding: 1rem;
    color: var(--text);
    border-bottom: 1px solid var(--card-border);
}

.syndi-sortable-table tbody tr:hover {
    background: var(--navbar-hover-bg);
}

.syndi-sortable-table th.sortable {
    cursor: pointer;
    user-select: none;
}

.syndi-sortable-table th.sortable:hover {
    background: var(--hover, #f1f5f9);
}

.syndi-sortable-table th.sortable i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.syndi-sortable-table th.sortable:hover i {
    color: var(--primary);
}

.syndi-sortable-table th.sortable i.fa-sort-up,
.syndi-sortable-table th.sortable i.fa-sort-down {
    color: var(--primary);
}

.syndi-sortable-table a {
    color: var(--primary);
    text-decoration: none;
}

.syndi-sortable-table a:hover {
    text-decoration: none;
}

.syndi-sortable-table a.syndi-table-info-button,
.syndi-sortable-table a.syndi-table-info-button:visited {
    color: #f97316;
    text-decoration: none;
}

.syndi-sortable-table a.syndi-table-info-button:hover,
.syndi-sortable-table a.syndi-table-info-button:active {
    color: #ffffff;
    text-decoration: none;
}

.syndi-sortable-table a.synd-link-button,
.syndi-sortable-table a.synd-link-button:visited {
    color: #06b6d4;
    text-decoration: none;
}

.syndi-sortable-table a.synd-link-button:hover,
.syndi-sortable-table a.synd-link-button:active {
    color: #ffffff;
    text-decoration: none;
}

.syndi-sortable-table a.syndi-download-button,
.syndi-sortable-table a.syndi-download-button:visited {
    color: #8b5cf6;
    text-decoration: none;
}

.syndi-sortable-table a.syndi-download-button:hover,
.syndi-sortable-table a.syndi-download-button:active {
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .syndi-sortable-table {
        font-size: 0.85rem;
    }

    .syndi-sortable-table th,
    .syndi-sortable-table td {
        padding: 0.75rem 0.5rem;
    }

    .syndi-sortable-table thead {
        display: none;
    }

    .syndi-sortable-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--card-border);
        border-radius: 8px;
    }

    .syndi-sortable-table td {
        display: block;
        text-align: right;
        padding: 0.5rem 1rem;
        border: none;
    }

    .syndi-sortable-table td:before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: var(--text-muted);
    }
}

/* Small button variant */
.btn-small {
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
}

.btn-info {
    background: var(--info, #0ea5e9);
    color: white;
    border: none;
}

.btn-info:hover {
    background: var(--info-hover, #0284c7);
}

@media (max-width: 768px) {
    .public-search-form .form-group {
        min-width: 100%;
    }
    
    .modal-container {
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-table {
        font-size: 0.75rem;
    }
    
    .modal-table th,
    .modal-table td {
        padding: 0.4rem 0.25rem;
    }
}

/* === GROEP CONTRACTEN PAGE === */

/* Form with inline layout */
.groep-form {
    margin-bottom: 1rem;
}

.groep-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.groep-form .form-group {
    flex: 1;
    min-width: 200px;
}

.groep-form .form-group-btn {
    flex: 0 0 auto;
    min-width: auto;
}

.groep-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.groep-form label i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.form-links {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--card-border, #e2e8f0);
}

.form-links a {
    color: var(--primary);
    font-weight: 500;
}

.form-links a i {
    margin-right: 0.5rem;
}

/* Region filter */
.region-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--card-bg, #fff);
    border-radius: 8px;
    border: 1px solid var(--card-border, #e2e8f0);
}

.filter-label {
    font-weight: 500;
    color: var(--text-muted);
}

.region-link {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: var(--hover, #f1f5f9);
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s;
}

.region-link:hover {
    background: var(--primary);
    color: white;
    text-decoration: none;
}

.region-link.active {
    background: var(--primary);
    color: white;
}

/* Data table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg, #fff);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px var(--card-shadow, rgba(0,0,0,0.1));
}

.data-table th,
.data-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--card-border, #e2e8f0);
}

.data-table th {
    background-color: var(--table-header-bg, #f8fafc);
    background-image: linear-gradient(rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06));
    font-weight: 600;
    color: var(--heading);
    white-space: nowrap;
}

.dark-theme .data-table th {
    background-color: var(--table-header-bg-dark, #1e293b);
    background-image: linear-gradient(rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06));
}

.data-table tbody tr:hover {
    background: var(--hover, #f1f5f9);
}

.data-table tbody td a {
    color: var(--primary);
    font-weight: 500;
}

.data-table tbody td a:hover {
    text-decoration: underline;
}

.data-table a.syndi-table-info-button,
.data-table a.syndi-table-info-button:visited {
    color: #f97316;
    text-decoration: none;
}

.data-table a.syndi-table-info-button:hover,
.data-table a.syndi-table-info-button:active {
    color: #ffffff;
    text-decoration: none;
}

.data-table a.synd-link-button,
.data-table a.synd-link-button:visited,
.data-table a.syndi-download-button,
.data-table a.syndi-download-button:visited {
    text-decoration: none;
}

.data-table a.synd-link-button:hover,
.data-table a.synd-link-button:active,
.data-table a.syndi-download-button:hover,
.data-table a.syndi-download-button:active {
    text-decoration: none;
}

.data-table a.synd-link-button,
.data-table a.synd-link-button:visited {
    color: #06b6d4;
}

.data-table a.synd-link-button:hover,
.data-table a.synd-link-button:active {
    color: #ffffff;
}

.data-table a.syndi-download-button,
.data-table a.syndi-download-button:visited {
    color: #8b5cf6;
}

.data-table a.syndi-download-button:hover,
.data-table a.syndi-download-button:active {
    color: #ffffff;
}

.data-table .positive {
    color: #16a34a;
}

.data-table .negative {
    color: #dc2626;
}

.data-table .trend-cell {
    white-space: nowrap;
}

.data-table .trend-cell i {
    margin-right: 0.5rem;
}

.data-table tfoot tr {
    background: var(--table-header-bg, #f8fafc);
    background-image: linear-gradient(rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06));
}

.dark-theme .data-table tfoot tr {
    background: var(--table-header-bg-dark, #1e293b);
    background-image: linear-gradient(rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06));
}

.data-table tfoot .totals-row td {
    border-top: 2px solid var(--primary);
}

.data-table tfoot .percentage-row td {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Table responsive wrapper */
.table-responsive {
    overflow-x: auto;
    margin: 1.5rem 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow-y: visible;
}

.table-responsive .data-table {
    margin-top: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Notice box variants */
.notice-box.info {
    background: var(--info-bg, #e0f2fe);
    color: var(--info-text, #0369a1);
    border-left-color: var(--info, #0ea5e9);
}

.dark-theme .notice-box.info {
    background: rgba(14, 165, 233, 0.15);
    color: #7dd3fc;
}

.notice-box.info i {
    color: var(--info, #0ea5e9);
}

@media (max-width: 768px) {
    .groep-form .form-row {
        flex-direction: column;
    }
    
    .groep-form .form-group {
        min-width: 100%;
    }
    
    .region-filter {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   ACCORDION STYLES (Downloads, Account)
   ============================================ */

.accordion {
    margin-bottom: 1rem;
}

.accordion-item {
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-border, #e2e8f0);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 0;
    margin: 0;
}

.accordion-button {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: var(--card-bg, #fff);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s;
}

.accordion-button:hover {
    background: var(--hover, #f8fafc);
}

.accordion-button i.fa-chevron-down {
    margin-left: auto;
    transition: transform 0.3s;
}

.accordion-button.active i.fa-chevron-down {
    transform: rotate(180deg);
}

.accordion-button .icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.accordion-button .icon.blue {
    background: linear-gradient(135deg, #1a73e8, #4285f4);
}

.accordion-button .icon.green {
    background: linear-gradient(135deg, #34a853, #4caf50);
}

.accordion-button .icon.orange {
    background: linear-gradient(135deg, #f9a825, #ff9800);
}

.accordion-button .icon.purple {
    background: linear-gradient(135deg, #7b1fa2, #9c27b0);
}

.accordion-button .icon.red {
    background: linear-gradient(135deg, #d32f2f, #f44336);
}

.accordion-button .badge-count {
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion-content.active {
    max-height: 2000px;
}

.accordion-body {
    padding: 1.5rem;
    border-top: 1px solid var(--card-border, #e2e8f0);
}

/* ============================================
   DOWNLOADS PAGE STYLES
   ============================================ */

.downloads-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg, #fff);
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--card-shadow, rgba(0,0,0,0.1));
}

.downloads-empty .empty-icon {
    font-size: 4rem;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 1.5rem;
}

.downloads-empty h2 {
    margin-top: 0;
    color: var(--heading);
}

.downloads-empty p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0.5rem auto;
}

.downloads-empty .empty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.section-intro {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.download-table {
    margin-top: 0;
}

.download-table thead {
    background: var(--hover, #f8fafc);
}

.dark-theme .download-table thead {
    background: var(--card-bg-alt, #1e293b);
}

.download-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 0.75rem 1rem;
}

.download-table td {
    padding: 1rem;
    vertical-align: middle;
}

.download-table tbody tr {
    transition: background-color 0.2s;
}

.download-table tbody tr:hover {
    background: var(--hover, #f8fafc);
}

.dark-theme .download-table tbody tr:hover {
    background: var(--card-bg-alt, #1e293b);
}

.region-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: var(--primary);
    color: white;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 0.5rem;
}

.licence-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.licence-badge.master {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.dark-theme .licence-badge.master {
    background: rgba(16, 185, 129, 0.25);
    color: #34d399;
}

.licence-badge.executive {
    background: rgba(139, 92, 246, 0.15);
    color: #7c3aed;
}

.dark-theme .licence-badge.executive {
    background: rgba(139, 92, 246, 0.25);
    color: #a78bfa;
}

.licence-badge.excel-vme,
.licence-badge.excel-syndici {
    background: rgba(14, 165, 233, 0.15);
    color: #0284c7;
}

.dark-theme .licence-badge.excel-vme,
.dark-theme .licence-badge.excel-syndici {
    background: rgba(14, 165, 233, 0.25);
    color: #38bdf8;
}

.days-warning {
    color: #f59e0b;
    font-weight: 500;
    display: block;
    font-size: 0.8rem;
}

.expiring-soon {
    color: #f59e0b;
}

.unlimited {
    color: #10b981;
}

.unlimited i {
    margin-right: 0.25rem;
}

.limit-reached {
    color: #ef4444;
    font-weight: 600;
}

.btn-download-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white !important;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s;
}

.btn-download-sm:hover:not(.disabled) {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: white !important;
    text-decoration: none !important;
}

.btn-download-sm:visited {
    color: white !important;
}

.btn-download-sm.disabled {
    background: var(--text-muted, #94a3b8);
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state .hint {
    font-size: 0.85rem;
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.info-column h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--heading);
    font-size: 1rem;
}

.info-column h4 i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.info-column ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-muted);
}

.info-column li {
    margin-bottom: 0.5rem;
}

.info-note {
    padding: 1rem;
    background: var(--hover, #f8fafc);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.dark-theme .info-note {
    background: var(--card-bg-alt, #1e293b);
}

.info-note i {
    color: var(--primary);
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .accordion-button .icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
    
    .download-table th,
    .download-table td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .download-table thead {
        display: none;
    }
    
    .download-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--card-border);
        border-radius: 8px;
        padding: 0.5rem;
    }
    
    .download-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        padding: 0.5rem;
    }
    
    .download-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        font-size: 0.8rem;
    }
    
    .downloads-empty .empty-actions {
        flex-direction: column;
    }
}

.syndi-table-info-button {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.14);
    backdrop-filter: blur(10px);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.55);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.syndi-table-info-button:visited {
    color: #f97316;
}

.syndi-table-info-button i {
    font-size: 0.95rem;
}

.syndi-table-info-button:focus {
    outline: none;
}

.syndi-table-info-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.syndi-table-info-button:hover {
    background: rgba(249, 115, 22, 0.3);
    border-color: rgba(249, 115, 22, 0.9);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.22);
}

.syndi-table-info-button:active {
    transform: translateY(0);
    background: rgba(194, 65, 12, 0.45);
    color: #ffffff;
    border-color: rgba(194, 65, 12, 0.95);
    box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.06);
}

.syndi-submit-form-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.12);
    backdrop-filter: blur(10px);
    color: #3b82f6;
    border: 2px solid rgba(59, 130, 246, 0.6);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.syndi-submit-form-button:visited {
    color: #3b82f6;
}

.syndi-submit-form-button i {
    font-size: 0.95rem;
}

.syndi-submit-form-button:focus {
    outline: none;
}

.syndi-submit-form-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.syndi-submit-form-button:hover {
    background: rgba(59, 130, 246, 0.22);
    border-color: rgba(59, 130, 246, 0.9);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(59, 130, 246, 0.18);
}

.syndi-submit-form-button:active {
    transform: translateY(0);
    background: rgba(30, 64, 175, 0.28);
    color: #ffffff;
    border-color: rgba(30, 64, 175, 0.9);
    box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.06);
}

.synd-link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.18);
    backdrop-filter: blur(10px);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.55);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.synd-link-button:visited {
    color: #06b6d4;
}

.synd-link-button i {
    font-size: 0.95rem;
}

.synd-link-button:focus {
    outline: none;
}

.synd-link-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.synd-link-button:hover {
    background: rgba(6, 182, 212, 0.35);
    color: #ffffff;
    border-color: #06b6d4;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.28);
}

.synd-link-button:active {
    transform: translateY(0);
    background: rgba(6, 182, 212, 0.55);
    color: #ffffff;
    border-color: #06b6d4;
}

.synd-link-button.active {
    background: rgba(6, 182, 212, 0.55);
    color: #ffffff;
    border-color: #06b6d4;
    font-weight: 600;
    text-decoration: none;
}

.syndi-download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.16);
    backdrop-filter: blur(10px);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.5);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.syndi-download-button i {
    font-size: 0.95rem;
}

.syndi-download-button:focus {
    outline: none;
}

.syndi-download-button:visited {
    color: #8b5cf6;
}

.syndi-download-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.syndi-download-button:hover {
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.12), 0 6px 14px rgba(139, 92, 246, 0.16);
    background: rgba(139, 92, 246, 0.22);
    border-color: rgba(139, 92, 246, 0.9);
    color: #ffffff;
}

.syndi-download-button:active {
    transform: translateY(0);
    background: rgba(139, 92, 246, 0.45);
    color: #ffffff;
    border-color: rgba(139, 92, 246, 0.95);
    box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.06);
}
