/* ======================================
   ROOT STYLES (Light Mode Standaard)
====================================== */
:root {
    --bg: #f6f8fb;
    --bg-gradient-top: #f0f6ff;
    --bg-gradient-bottom: #fdfefe;
    --card: #ffffff;
    --text: #0f172a;
    --text-secondary: #334155;
    --muted: #6b7280;
    --shadow: 0 10px 30px rgba(16,24,40,0.08);
    --accent: #2b6df6;
    --border: #e0e0e0;
    --contact-details-bg: #f8f8f8;
    
    /* RGB variabelen voor transparantie effecten */
    --accent-rgb: 43, 109, 246;
    --text-rgb: 15, 23, 42;
}

/* ======================================
   DARK MODE OVERRIDES
====================================== */
.dark-mode {
    --bg: #18191a;
    --bg-gradient-top: #18191a;
    --bg-gradient-bottom: #1c1d1f;
    --card: #242526;
    --text: #e4e6eb;
    --text-secondary: #b0b3b8;
    --muted: #b0b3b8;
    --shadow: 0 4px 15px rgba(0,0,0,0.4);
    --accent: #5e8cf6;
    --border: #3a3b3c;
    --contact-details-bg: #2d2f31;
    
    --accent-rgb: 94, 140, 246;
    --text-rgb: 228, 230, 235;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
    background: linear-gradient(180deg, var(--bg-gradient-top) 0%, var(--bg-gradient-bottom) 60%);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.5s ease, color 0.3s ease;
}

/* --- DARK MODE TOGGLE STYLING (Fixed Position) --- */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--card);
    border: 1px solid var(--muted);
    cursor: pointer;
    font-size: 20px;
    padding: 0;
    height: 38px;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.dark-mode-toggle:hover {
    background-color: rgba(var(--accent-rgb), 0.1);
    border-color: var(--accent);
}

.icon-light, .icon-dark {
    color: var(--text);
}

.icon-dark, .dark-mode .icon-light {
    display: none;
}

.dark-mode .icon-dark {
    display: inline;
}

.confirmation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.confirmation-box {
    max-width: 600px;
    width: 100%;
    background: var(--card);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: background 0.3s, box-shadow 0.3s;
}

.confirmation-box h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    margin-top: 0;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.confirmation-box p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    transition: color 0.3s;
}

.contact-details {
    margin: 25px 0;
    padding: 20px;
    background-color: var(--contact-details-bg);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: background-color 0.3s, border-color 0.3s;
}

.contact-details p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    transition: color 0.3s;
}

.email-link {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    color: white;
    background-color: var(--accent);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 10px;
    transition: background-color 0.2s, transform 0.1s;
}

.email-link:hover {
    background-color: #1e53c4;
    transform: translateY(-1px);
}

.dark-mode .email-link:hover {
    background-color: #4a7ae8;
}

.closing {
    margin-top: 30px;
    font-size: 15px;
    color: var(--muted);
    transition: color 0.3s;
}

.back-home {
    display: inline-block;
    margin-top: 30px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.2s, color 0.3s;
}

.back-home:hover {
    border-bottom-color: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .confirmation-box {
        padding: 30px 20px;
    }
    
    .confirmation-box h1 {
        font-size: 24px;
    }
    
    .dark-mode-toggle {
        top: 15px;
        right: 15px;
    }
}