/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(39, 167, 142, 0.18), transparent 34%),
        radial-gradient(circle at top right, rgba(232, 117, 26, 0.15), transparent 30%),
        linear-gradient(180deg, #f7fbfa 0%, #eef5f3 48%, #f9fbf8 100%);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== COLORS ===== */
:root {
    --navy: #183847;
    --teal: #1d8a82;
    --orange: #de7846;
    --blue-btn: #1d8a82;
    --blue-btn-hover: #146b65;
    --light-bg: #edf6f3;
    --white: #ffffff;
    --text-dark: #213741;
    --text-gray: #5b6f76;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 122px;
    padding: 10px 50px;
    background: linear-gradient(180deg, rgba(9, 28, 37, 0.46), rgba(9, 28, 37, 0.1));
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
}

.navbar .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 260px;
    height: 110px;
    overflow: visible;
}

.navbar .logo img {
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    transform: none;
}

.navbar .logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar .logo-placeholder {
    background: linear-gradient(135deg, #f7941d, #00a651);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s;
    position: relative;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Navbar dark variant (for pages without hero) */
.navbar-dark {
    position: relative;
    background: linear-gradient(135deg, #183847 0%, #245a62 58%, #de7846 100%);
}

.navbar-dark .nav-links a {
    color: #fff;
}

/* Mobile hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 48, 56, 0.78), rgba(29, 138, 130, 0.24), rgba(222, 120, 70, 0.42));
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 4.5rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 15px;
    text-shadow: 2px 4px 12px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 35px;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.3);
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue-btn) 0%, var(--orange) 100%);
    color: #fff;
    padding: 14px 35px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(29, 138, 130, 0.22);
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: saturate(1.08);
    box-shadow: 0 20px 34px rgba(20, 107, 101, 0.28);
}

/* Hero curved bottom */
.hero-curve {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero-curve svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== PAGE HEADER (for sub-pages) ===== */
.page-header {
    position: relative;
    height: 45vh;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.page-header .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.page-header .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 48, 56, 0.78), rgba(24, 56, 71, 0.28), rgba(222, 120, 70, 0.38));
    z-index: -1;
}

.page-header h1 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 3.5rem;
    font-weight: 700;
    font-style: italic;
    text-shadow: 2px 4px 12px rgba(0,0,0,0.3);
    z-index: 1;
}

.page-header p {
    font-size: 1.1rem;
    margin-top: 10px;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.3);
    z-index: 1;
}

.page-header .hero-curve {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 2;
}

/* ===== ABOUT / CONTENT SECTIONS ===== */
.section {
    padding: 80px 50px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(29, 138, 130, 0.08), transparent 25%);
    z-index: -1;
}

.section-light {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.62)),
        radial-gradient(circle at top right, rgba(222, 120, 70, 0.12), transparent 24%),
        linear-gradient(135deg, #edf6f3 0%, #f8faf7 100%);
}

.section-white {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.84)),
        radial-gradient(circle at bottom left, rgba(29, 138, 130, 0.12), transparent 28%),
        #ffffff;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 2.7rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 25px;
}

.section-title .highlight {
    color: var(--teal);
}

.section-text {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 550px;
}

.section-text p + p {
    margin-top: 18px;
}

/* Two-column layout */
.two-col {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.two-col .col-text {
    flex: 1;
}

.two-col .col-image {
    flex: 1;
    position: relative;
}

.two-col .col-image img {
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(24, 56, 71, 0.16);
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.two-col.reverse {
    flex-direction: row-reverse;
}

/* ===== FEATURES / HIGHLIGHTS ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(24, 56, 71, 0.08);
    border-radius: 24px;
    padding: 35px 30px;
    box-shadow: 0 18px 45px rgba(24, 56, 71, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(29, 138, 130, 0.16), rgba(222, 120, 70, 0.2));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--navy);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== NEWS SECTION ===== */
.news-section-header {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.news-section-intro {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 10px;
}

/* Groot uitgelicht nieuwsbericht */
.news-card-featured {
    display: grid;
    grid-template-columns: 420px 1fr;
    max-width: 1200px;
    margin: 40px auto 20px;
    min-height: 420px;
}

.news-card-featured .news-card-img {
    height: 100%;
    min-height: 420px;
    border-radius: 0;
}

.news-card-featured .news-card-body {
    padding: 42px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.news-featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 18px;
}

.news-featured-sign {
    margin-top: 8px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.news-card {
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(24, 56, 71, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(24, 56, 71, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.news-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 15%, rgba(24, 56, 71, 0.22) 100%);
}

.news-card-body {
    padding: 25px;
}

.news-card-date {
    font-size: 0.8rem;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 1.15rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

.news-card .read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--blue-btn);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.news-card .read-more:hover {
    color: var(--blue-btn-hover);
}

/* ===== CONTACT SECTION ===== */
.contact-wrapper {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-detail-icon {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    font-weight: 400;
    letter-spacing: 0;
    color: inherit;
    flex-shrink: 0;
}

.contact-detail-text strong {
    display: block;
    color: var(--navy);
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.contact-detail-text span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.contact-form {
    flex: 1;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(24, 56, 71, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 48px rgba(24, 56, 71, 0.08);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e4ea;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--blue-btn);
}

.contact-form textarea {
    height: 130px;
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #163441 0%, #214e58 55%, #de7846 100%);
    color: rgba(255, 255, 255, 0.82);
    padding: 60px 50px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.16);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.62);
}

.footer .logo-placeholder-footer {
    background: linear-gradient(135deg, #f7941d, #00a651);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 28%),
        linear-gradient(135deg, #163441 0%, #1d8a82 56%, #de7846 100%);
    color: #fff;
    text-align: center;
    padding: 70px 50px;
}

.cta-banner h2 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== MAP ===== */
.map-container {
    width: 100%;
    height: 350px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(24, 56, 71, 0.08);
    margin-top: 30px;
    border: 1px solid rgba(24, 56, 71, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card-featured {
        grid-template-columns: 300px 1fr;
    }

    .news-card-featured .news-card-img {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        min-height: 96px;
        padding: 8px 25px;
    }

    .navbar .logo {
        width: 190px;
        height: 80px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 88px;
        right: 25px;
        background: rgba(27, 42, 74, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 20px 30px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links.open {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 50px 25px;
    }

    .two-col {
        flex-direction: column;
        gap: 30px;
    }

    .two-col.reverse {
        flex-direction: column;
    }

    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card-featured {
        grid-template-columns: 1fr;
    }

    .news-card-featured .news-card-img {
        height: 240px;
        min-height: 240px;
    }

    .news-card-featured .news-card-body {
        padding: 28px 25px;
    }

    .news-featured-title {
        font-size: 1.4rem;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .footer {
        padding: 40px 25px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-banner {
        padding: 50px 25px;
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }
}
/* ===== AANMELDEN FORM (centered card) ===== */
.aanmeld-card {
    max-width: 620px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(24, 56, 71, 0.08);
    border-radius: 28px;
    padding: 48px 44px;
    box-shadow: 0 24px 60px rgba(24, 56, 71, 0.10);
}

.aanmeld-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 6px;
}

.aanmeld-card .aanmeld-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.92rem;
    margin-bottom: 30px;
}

.aanmeld-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.aanmeld-card .form-group {
    margin-bottom: 20px;
}

.aanmeld-card label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.aanmeld-card input,
.aanmeld-card select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e4ea;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    background: #fff;
    color: var(--text-dark);
}

.aanmeld-card input:focus,
.aanmeld-card select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(29, 138, 130, 0.10);
}

.aanmeld-card .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    margin-top: 8px;
}

.aanmeld-card .alert {
    margin-bottom: 24px;
}

.aanmeld-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e4ea, transparent);
    margin: 6px 0 24px;
}

@media (max-width: 640px) {
    .aanmeld-card {
        padding: 32px 24px;
    }

    .aanmeld-card .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ===== AUTH PAGES (Login, Register, Verificatie) ===== */
.auth-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(29, 138, 130, 0.18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(222, 120, 70, 0.18), transparent 30%),
        linear-gradient(180deg, #eef5f3 0%, #f8fbf9 100%);
    padding: 60px 20px;
}

.auth-section-blue {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 22%),
        linear-gradient(135deg, #163441 0%, #1d8a82 58%, #de7846 100%);
}

.auth-shell {
    width: 100%;
    max-width: 1180px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(16, 42, 52, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.auth-showcase {
    padding: 60px 55px;
    color: var(--white);
    background: linear-gradient(160deg, rgba(22, 52, 65, 0.94), rgba(29, 138, 130, 0.88), rgba(222, 120, 70, 0.78));
    position: relative;
}

.auth-showcase::before,
.auth-showcase::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-showcase::before {
    width: 230px;
    height: 230px;
    top: -70px;
    left: -60px;
}

.auth-showcase::after {
    width: 260px;
    height: 260px;
    right: -110px;
    bottom: -90px;
}

.auth-showcase-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    margin-bottom: 20px;
}

.auth-showcase h2 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 2.4rem;
    margin-bottom: 14px;
    line-height: 1.2;
}

.auth-showcase p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 420px;
}

.auth-showcase-list {
    margin-top: 24px;
    display: grid;
    gap: 10px;
    font-size: 0.95rem;
}

.auth-showcase-list span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-showcase-list span::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.45));
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

.auth-form-side {
    max-width: unset;
    border-radius: 0;
    box-shadow: none;
    background: linear-gradient(155deg, rgba(18, 53, 66, 0.94), rgba(36, 92, 99, 0.96));
    padding: 45px 38px;
}

.auth-container {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    border-radius: 26px;
    padding: 45px 40px;
    box-shadow: 0 18px 40px rgba(7, 24, 32, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-container-wide {
    max-width: 500px;
}

.auth-container.auth-form-side {
    background: linear-gradient(150deg, rgba(33, 119, 185, 0.96), rgba(21, 63, 118, 0.98));
}

@media (max-width: 980px) {
    .auth-shell {
        grid-template-columns: 1fr;
        max-width: 640px;
    }

    .auth-showcase {
        padding: 42px 30px;
    }

    .auth-showcase h2 {
        font-size: 2rem;
    }

    .auth-form-side {
        padding: 36px 26px;
    }
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 30px;
    gap: 4px;
}

.auth-tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.3s;
}

.auth-tab:hover {
    color: var(--white);
}

.auth-tab.active {
    background: rgba(17, 84, 146, 0.92);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

/* Auth Panels */
.auth-panel {
    display: none;
}

.auth-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 auto 20px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.auth-header h1 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 8px;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.auth-form input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
}

.auth-form input:focus {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.22);
}

.auth-form input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.auth-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 5px;
    border-radius: 10px;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.auth-footer p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
}

.auth-footer a {
    color: #d7ecff;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: var(--white);
}

/* Code input (verificatie) */
.code-input {
    text-align: center;
    font-size: 1.8rem !important;
    font-weight: 700;
    letter-spacing: 12px;
    padding: 16px !important;
    color: var(--navy);
}

.code-input::placeholder {
    letter-spacing: 12px;
    font-size: 1.8rem;
}

.resend-btn {
    background: none;
    border: none;
    color: var(--blue-btn);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
    padding: 5px 10px;
    transition: color 0.3s;
}

.resend-btn:hover {
    color: var(--blue-btn-hover);
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-success a {
    color: #166534;
    font-weight: 600;
    text-decoration: underline;
}

/* ===== DASHBOARD ===== */
.dashboard-section {
    min-height: calc(100vh - 80px);
    background:
        radial-gradient(circle at top left, rgba(29, 138, 130, 0.12), transparent 26%),
        radial-gradient(circle at top right, rgba(222, 120, 70, 0.12), transparent 20%),
        linear-gradient(180deg, #eef5f3 0%, #f8fbf9 100%);
    padding: 35px 30px;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 45px;
}

.dashboard-header h1 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 2.8rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.dashboard-header h1 .highlight {
    color: var(--teal);
}

.dashboard-header p {
    color: var(--text-gray);
    font-size: 1.05rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.dash-card {
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(18px);
    border-radius: 24px;
    padding: 35px 30px;
    box-shadow: 0 18px 45px rgba(24, 56, 71, 0.08);
    border: 1px solid rgba(24, 56, 71, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.dash-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.dash-card-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(29, 138, 130, 0.16), rgba(222, 120, 70, 0.2));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--navy);
    margin-bottom: 18px;
}

.dash-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.dash-card p {
    color: var(--text-gray);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.dash-btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 0.88rem;
    border-radius: 8px;
}

/* Profiel kaart */
.dash-card-profile {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #163441 0%, #245a62 58%, #de7846 100%);
    color: #fff;
    padding: 26px 24px;
}

.dash-card-documents {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.dash-card-documents .dash-card-icon {
    margin-left: auto;
    margin-right: auto;
}

.dashboard-upload-form {
    margin-top: 18px;
    text-align: left;
}

.dashboard-upload-group {
    margin-bottom: 14px;
}

.dashboard-upload-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.dashboard-upload-input {
    width: 100%;
    padding: 10px;
    border: 1.5px solid #e0e4ea;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    background: #fff;
    color: var(--text-dark);
}

.dashboard-upload-btn {
    width: 100%;
}

.upload-preview {
    margin: 10px 0 14px;
    padding: 12px;
    border: 1px solid rgba(24, 56, 71, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
}

.upload-preview-empty,
.upload-preview-note {
    font-size: 0.86rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.upload-preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.86rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    word-break: break-word;
}

.upload-preview-meta span {
    color: var(--text-gray);
    font-size: 0.8rem;
    white-space: nowrap;
}

.upload-preview-image {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(24, 56, 71, 0.08);
    background: #fff;
}

.upload-preview-pdf {
    width: 100%;
    height: 280px;
    border: 1px solid rgba(24, 56, 71, 0.1);
    border-radius: 10px;
    background: #fff;
}

.upload-preview-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.upload-cancel-btn {
    border: 1px solid rgba(24, 56, 71, 0.22);
    background: #fff;
    color: var(--navy);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.upload-cancel-btn:hover {
    background: rgba(24, 56, 71, 0.06);
    border-color: rgba(24, 56, 71, 0.32);
}

.doc-card-full {
    grid-column: 1 / -1;
}

.badge-bestuurslid {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.03em;
}

.rol-select {
    padding: 6px 10px;
    border: 1px solid rgba(24,56,71,0.25);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--navy);
    background: #fff;
    cursor: pointer;
}

.doc-empty {
    color: var(--text-gray);
    font-style: italic;
    margin-top: 12px;
}

.vertrouwelijk-rood {
    color: #b91c1c;
}

.doc-delete-form {
    display: inline;
    margin: 0;
}

.dash-card-profile h3 {
    color: #fff;
}

.dash-card-profile .dash-card-icon {
    background: rgba(255, 255, 255, 0.15);
}

.profile-info {
    margin-top: 10px;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.profile-value {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.profile-edit-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.profile-edit-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 12px;
}

.profile-edit-card h4 {
    margin-bottom: 10px;
    color: #dcecff;
    font-size: 0.98rem;
}

.dash-card-profile .auth-form .form-group {
    margin-bottom: 12px;
}

.dash-card-profile .auth-form label {
    font-size: 0.82rem;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.dash-card-profile .auth-form input {
    padding: 10px 12px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
}

.dash-card-profile .auth-form input:focus {
    background: rgba(255, 255, 255, 0.2);
}

.dash-card-profile .dash-btn {
    margin-top: 2px;
    padding: 9px 16px;
    font-size: 0.84rem;
}

@media (max-width: 920px) {
    .profile-edit-grid {
        grid-template-columns: 1fr;
    }
}

.status-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

/* Profile actions */
.profile-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-profile-action {
    flex: 1;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-profile-action:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-box {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    border-radius: 28px;
    padding: 40px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalSlideIn 0.3s ease;
    border: 1px solid rgba(24, 56, 71, 0.08);
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--navy);
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(29, 138, 130, 0.16), rgba(222, 120, 70, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--navy);
    margin: 0 auto 15px;
}

.modal-header h2 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 6px;
}

.modal-header p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .profile-actions {
        flex-direction: column;
    }

    .modal-box {
        padding: 30px 25px;
    }
}

/* ===== DASHBOARD RESPONSIVE ===== */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-card-profile {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .dashboard-section {
        padding: 30px 20px;
    }

    .dashboard-header h1 {
        font-size: 2rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dash-card-profile {
        grid-column: auto;
    }

    .auth-container {
        padding: 30px 25px;
    }

    .auth-header h1 {
        font-size: 1.6rem;
    }

    .code-input {
        font-size: 1.4rem !important;
        letter-spacing: 8px;
    }
}

/* ===== DOCUMENTEN LIJST ===== */
.doc-list {
    list-style: none;
    margin-top: 18px;
    width: 100%;
    text-align: left;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(24, 56, 71, 0.08);
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.65);
    transition: background 0.2s;
}

.doc-item:hover {
    background: rgba(255, 255, 255, 0.9);
}

.doc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 500;
    min-width: 0;
    text-decoration: none;
}

.doc-link:hover .doc-name {
    color: var(--teal);
    text-decoration: underline;
}

.doc-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.doc-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.doc-date {
    font-size: 0.78rem;
    color: var(--text-gray);
    flex-shrink: 0;
    margin-left: 8px;
}

.doc-delete {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #b91c1c;
    padding: 4px 7px;
    border-radius: 6px;
    line-height: 1;
    transition: background 0.2s;
    flex-shrink: 0;
}

.doc-delete:hover {
    background: #fef2f2;
}

.upload-cards-row {
    grid-column: 1 / -1;
    display: flex;
    gap: 30px;
}

.dash-card-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.dash-card-header-row h3 {
    margin: 0;
}

.toggle-accounts-btn {
    margin-left: auto;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(24, 56, 71, 0.22);
    background: #fff;
    color: var(--navy);
    border-radius: 50%;
    padding: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.toggle-accounts-btn:hover {
    background: rgba(24, 56, 71, 0.06);
    border-color: rgba(24, 56, 71, 0.32);
}

.toggle-chevron {
    display: inline-block;
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

.toggle-accounts-btn.is-open .toggle-chevron {
    transform: rotate(180deg) translateY(1px);
}

.accounts-content {
    margin-top: 10px;
}

.accounts-content.is-collapsed {
    display: none;
}

.accounts-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 15px;
    border: 2px solid #111;
}

.accounts-column {
    padding: 18px;
    min-height: 260px;
}

.accounts-column + .accounts-column {
    border-top: 2px solid #111;
}

.accounts-column-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(29, 138, 130, 0.2);
}