/* ================================
   Hapjeslijst 2.0 - Playful Snack Theme
   Gebaseerd op Rollenplanner design
   ================================ */

/* Root Variables - Bright & Playful (zelfde als Rollenplanner) */
:root {
    --primary: #FF6B6B;        /* Warm coral red */
    --primary-dark: #EE5A24;
    --secondary: #4ECDC4;      /* Turquoise */
    --secondary-dark: #1ABC9C;
    --accent: #FFE66D;         /* Sunny yellow */
    --accent-dark: #F9CA24;
    --purple: #A8E6CF;         /* Soft mint */
    --orange: #FF8B94;         /* Soft pink */

    --success: #52B788;
    --warning: #F9CA24;
    --danger: #EE5A24;
    --info: #4ECDC4;

    --dark: #2D3436;
    --gray: #636E72;
    --light-gray: #F8F9FA;
    --lighter-gray: #FAFBFC;
    --white: #FFFFFF;

    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Fredoka', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.18);
    --shadow-colored: 0 8px 32px rgba(255, 107, 107, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Fredoka:wght@400;500;600;700&display=swap');

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, #E8F4F8 0%, #F8E5FF 100%);
    background-attachment: fixed;
    color: var(--dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    padding-top: 70px;
}

/* Snack Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 230, 109, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

/* Fun Emoji Icons */
.emoji-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
    display: inline-block;
    animation: gentleBounce 3s infinite ease-in-out;
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ================================
   Navigation - Rollenplanner Style
   ================================ */

.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 3px solid transparent;
    background-image: linear-gradient(white, white),
                      linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1400px;
    padding: 0 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.03);
}

.navbar-brand img {
    height: 45px;
}

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

.navbar-nav .nav-item {
    margin: 0;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--gray) !important;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background: rgba(255, 107, 107, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active,
.navbar-nav .btn-primary {
    color: white !important;
    background: linear-gradient(135deg, var(--primary), var(--orange));
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.navbar-nav .btn-primary:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Mobile Menu Toggle - Pill Style */
.navbar-toggler-pill {
    display: none;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-body);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.navbar-toggler-pill i {
    font-size: 1.3rem;
}

.navbar-toggler-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.navbar-toggler-pill:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.3);
}

.navbar-toggler-pill[aria-expanded="true"] {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.navbar-toggler-pill[aria-expanded="true"] i::before {
    content: "\F659"; /* bi-x-lg */
}

@media (max-width: 991.98px) {
    .navbar-toggler-pill {
        display: inline-flex;
    }
}

/* Mobile Menu - Collapsed State */
@media (max-width: 991.98px) {
    .navbar .container {
        flex-wrap: wrap;
        height: auto;
        min-height: 75px;
        padding: 16px 15px;
    }

    .navbar-brand img {
        height: 48px;
    }

    .navbar-toggler-pill {
        padding: 12px 22px;
        font-size: 1.05rem;
    }

    .navbar-toggler-pill i {
        font-size: 1.4rem;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        padding: 1rem;
        border-top: 3px solid transparent;
        background-image: linear-gradient(white, white),
                          linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
        background-origin: border-box;
        background-clip: padding-box, border-box;
        z-index: 1000;
    }

    .navbar-collapse.collapsing {
        transition: height 0.25s ease;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        padding: 0.5rem 0;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        border-radius: var(--border-radius);
        background: #f8f9fa;
        font-size: 1rem;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(255, 107, 107, 0.15);
        transform: none;
    }

    .navbar-nav .nav-item.ms-2 {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }

    .navbar-nav .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        border-radius: var(--border-radius);
        font-size: 1rem;
        margin-bottom: 1rem;
    }

}

/* ================================
   Cards - Rollenplanner Style
   ================================ */

.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 0;
    margin-bottom: 2rem;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.card-header {
    background: linear-gradient(135deg, var(--primary), var(--orange));
    color: white;
    padding: 1.25rem 1.5rem;
    border-bottom: none;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0 !important;
}

.card-header h2,
.card-header h3,
.card-header .card-title {
    color: white;
    margin: 0;
    font-family: var(--font-display);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-family: var(--font-display);
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--gray);
    font-size: 1rem;
}

/* Stats Card */
.stats-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.05;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stats-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--orange));
    color: white;
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

/* ================================
   Buttons - Rollenplanner Style
   ================================ */

.btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 28px;
    transition: var(--transition-fast);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--orange));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.btn-secondary:hover,
.btn-secondary:focus {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #3D9970);
    color: white;
    box-shadow: 0 4px 15px rgba(82, 183, 136, 0.3);
}

.btn-success:hover,
.btn-success:focus {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(82, 183, 136, 0.4);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #C0392B);
    color: white;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning), var(--accent));
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(249, 202, 36, 0.3);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ================================
   Forms - Rollenplanner Style
   ================================ */

.form-control {
    border: 3px solid #E8F4F8;
    border-radius: var(--border-radius);
    padding: 14px 20px;
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: var(--lighter-gray);
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(78, 205, 196, 0.25);
    outline: none;
    background-color: white;
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-select {
    border: 3px solid #E8F4F8;
    border-radius: var(--border-radius);
    padding: 14px 20px;
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: var(--lighter-gray);
}

.form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(78, 205, 196, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ================================
   Tables - Rollenplanner Style
   ================================ */

.table {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table thead th {
    background: linear-gradient(135deg, var(--primary), var(--orange));
    color: white;
    font-weight: 600;
    padding: 1rem 1.25rem;
    border: none;
    font-family: var(--font-display);
}

.table tbody td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    border-color: #E8F4F8;
}

.table tbody tr {
    transition: var(--transition-fast);
}

.table tbody tr:hover {
    background-color: rgba(78, 205, 196, 0.05);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(248, 249, 250, 0.5);
}

/* ================================
   Alerts - Rollenplanner Style
   ================================ */

.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 20px 25px;
    font-weight: 500;
    position: relative;
    padding-left: 60px;
}

.alert::before {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, #D4EDDA, #C3E6CB);
    color: #155724;
}

.alert-success::before {
    content: '✅';
}

.alert-danger {
    background: linear-gradient(135deg, #F8D7DA, #F5C6CB);
    color: #721C24;
}

.alert-danger::before {
    content: '❌';
}

.alert-warning {
    background: linear-gradient(135deg, #FFF3CD, #FFEAA7);
    color: #856404;
}

.alert-warning::before {
    content: '⚠️';
}

.alert-info {
    background: linear-gradient(135deg, #D1ECF1, #BEE5EB);
    color: #0C5460;
}

.alert-info::before {
    content: '💡';
}

/* ================================
   Badges - Rollenplanner Style
   ================================ */

.badge {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-info,
.bg-info {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2), rgba(26, 188, 156, 0.2)) !important;
    color: var(--secondary-dark) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary), var(--orange)) !important;
}

.bg-success {
    background: linear-gradient(135deg, var(--success), #3D9970) !important;
}

/* ================================
   Auth Pages - Login/Register
   ================================ */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #FFE5E5 0%, #E5F3FF 100%);
    position: relative;
    overflow: hidden;
}

/* Floating Snack Decorations */
.auth-container::before,
.auth-container::after {
    content: '🍪';
    position: absolute;
    font-size: 3rem;
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.auth-container::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.auth-container::after {
    content: '🧁';
    bottom: 20%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(20px) rotate(-5deg); }
}

.auth-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    padding: 50px;
    width: 100%;
    max-width: 480px;
    position: relative;
    border: 3px solid var(--primary);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auth Page Wrapper (with header/footer) */
.auth-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}

.auth-page-wrapper .auth-card {
    padding: 40px;
}

.auth-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: gentleBounce 3s infinite ease-in-out;
}

.auth-card-header h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.auth-card-header p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E8F4F8;
}

.auth-footer p {
    margin-bottom: 0.5rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.auth-footer p:last-child {
    margin-bottom: 0;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.auth-footer a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.auth-footer a.text-muted {
    color: var(--gray) !important;
    font-weight: 400;
}

.auth-footer a.text-muted:hover {
    color: var(--primary) !important;
}

/* Auth form improvements */
.auth-page-wrapper .form-control {
    background-color: #F8FAFC;
    border: 2px solid #E8F4F8;
}

.auth-page-wrapper .form-control:focus {
    background-color: white;
    border-color: var(--secondary);
}

.auth-page-wrapper .form-control::placeholder {
    color: #B0BEC5;
}

.auth-page-wrapper .form-check-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.auth-page-wrapper .form-check-label a {
    color: var(--primary);
}

/* reCAPTCHA styling */
.auth-page-wrapper .g-recaptcha {
    display: flex;
    justify-content: center;
}

@media (max-width: 576px) {
    .auth-page-wrapper {
        padding: 20px 15px;
    }

    .auth-page-wrapper .auth-card {
        padding: 30px 25px;
    }

    .auth-emoji {
        font-size: 2.5rem;
    }

    .auth-card-header h2 {
        font-size: 1.5rem;
    }
}

/* ================================
   Parallax Header (Homepage)
   ================================ */

.parallax-header {
    background-image: url('../images/header.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 15px;
    margin-top: -70px;
}

.parallax-overlay {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.85), rgba(78, 205, 196, 0.85));
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 70px;
}

.parallax-content h1 {
    color: white;
    font-size: 3.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.parallax-content p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Snack Counter Sticker */
.snack-counter-sticker {
    position: absolute;
    top: 100px;
    right: 30px;
    background: linear-gradient(135deg, var(--accent), var(--warning));
    padding: 15px 25px;
    border-radius: var(--border-radius);
    transform: rotate(5deg);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    animation: gentleBounce 3s infinite ease-in-out;
}

.snack-counter-sticker span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-display);
}

/* Top Hapjes Box */
.top-hapjes-box-desktop {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 250px;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.top-hapjes-box-desktop h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-family: var(--font-display);
}

.top-hapjes-box-desktop ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-hapjes-box-desktop li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #E8F4F8;
}

.top-hapjes-box-desktop li:last-child {
    border-bottom: none;
}

.hapje-naam {
    flex: 1;
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}

.hapje-count {
    background: linear-gradient(135deg, var(--primary), var(--orange));
    color: white;
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ================================
   Footer - Rollenplanner Style
   ================================ */

.footer {
    background: #f8fbfd;
    padding: 0;
    color: var(--gray);
    position: relative;
    margin-top: auto;
}

.footer-gradient-border {
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 300% 100%;
    animation: gradientMove 8s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.footer .container {
    padding: 50px 20px 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    height: 36px;
}

.footer-description {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

.social-link i {
    font-size: 1.1rem;
}

.highlight-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
}

.highlight-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.footer-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.bg-primary-soft {
    background: rgba(255, 107, 107, 0.1) !important;
    color: var(--primary) !important;
}

.bg-secondary-soft {
    background: rgba(78, 205, 196, 0.1) !important;
    color: var(--secondary) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 25px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.footer-decorations {
    display: flex;
    gap: 8px;
    font-size: 1.25rem;
    opacity: 0.7;
}

.footer-link {
    color: var(--secondary) !important;
    text-decoration: none;
    margin: 0 8px;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary) !important;
    text-decoration: underline;
}

/* ================================
   Cookie Consent - Rollenplanner Style
   ================================ */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 20px 0;
    z-index: 10001;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.25);
    display: none;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-banner .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.cookie-consent-banner p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent-banner p:last-child {
    margin-bottom: 0;
}

.cookie-consent-banner .cookie-links {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.cookie-consent-banner a {
    color: white;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-consent-banner a:hover {
    color: var(--accent);
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent-actions .btn-primary {
    background: white;
    color: var(--primary);
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cookie-consent-actions .btn-primary:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-2px);
}

.cookie-consent-actions .btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.cookie-consent-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-settings-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.cookie-settings-panel {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.cookie-settings-header h5 {
    margin: 0;
    font-weight: 700;
    color: var(--dark);
}

.cookie-settings-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.cookie-settings-close:hover {
    color: var(--dark);
}

.cookie-settings-body {
    padding: 1.5rem;
}

.cookie-settings-body > p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-option-info {
    flex: 1;
}

.cookie-option-info strong {
    display: block;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.cookie-option-info .cookie-required {
    display: inline-block;
    font-size: 0.7rem;
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 0.5rem;
    font-weight: 600;
}

.cookie-option-info p {
    margin: 0.5rem 0 0 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Toggle Switch */
.cookie-option-toggle {
    flex-shrink: 0;
}

.cookie-option-toggle input[type="checkbox"] {
    display: none;
}

.cookie-option-toggle label {
    display: block;
    width: 50px;
    height: 28px;
    background: #ccc;
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.cookie-option-toggle label::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cookie-option-toggle input:checked + label {
    background: var(--primary);
}

.cookie-option-toggle input:checked + label::after {
    transform: translateX(22px);
}

.cookie-option-toggle input:disabled + label {
    opacity: 0.7;
    cursor: not-allowed;
}

.cookie-settings-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
    text-align: right;
}

.cookie-settings-footer .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 30px;
    font-weight: 600;
}

.cookie-settings-footer .btn-primary:hover {
    background: var(--secondary);
}

/* ================================
   Wrapper & Main Content
   ================================ */

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 30px 20px;
}

.container {
    max-width: 1200px;
}

/* ================================
   Empty States
   ================================ */

.empty-state {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, #F8F9FA, #E8F4F8);
    border-radius: var(--border-radius-lg);
    margin: 40px 0;
}

.empty-state-icon {
    font-size: 6rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: gentleSwing 3s ease-in-out infinite;
}

@keyframes gentleSwing {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

/* ================================
   Highlight Animation (new snack)
   ================================ */

.highlight {
    animation: highlight-animation 3s ease-out;
}

@keyframes highlight-animation {
    from { background-color: rgba(82, 183, 136, 0.3); }
    to { background-color: inherit; }
}

/* ================================
   Gradient Text
   ================================ */

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ================================
   Confirmation Panel
   ================================ */

#confirmation-panel {
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 9999;
    bottom: -100%;
    transition: bottom 0.3s ease;
    padding: 2rem;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

#confirmation-panel h5 {
    font-family: var(--font-display);
    color: var(--dark);
}

/* ================================
   Scrollbar - Rollenplanner Style
   ================================ */

* {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) #f1f1f1;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-dark);
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 768px) {
    body {
        padding-top: 75px;
    }

    h1, .h1 { font-size: 2rem; }
    h2, .h2 { font-size: 1.75rem; }
    h3, .h3 { font-size: 1.5rem; }

    .navbar .container {
        height: auto;
        min-height: 75px;
    }

    .parallax-header {
        min-height: 400px;
        background-attachment: scroll;
    }

    .parallax-content h1 {
        font-size: 2rem;
    }

    .snack-counter-sticker {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin: 20px auto;
        display: inline-block;
    }

    .top-hapjes-box-desktop {
        display: none;
    }

    .top-hapjes-box-mobile {
        display: block;
        margin: 20px;
    }

    .cookie-consent-banner .container {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-consent-actions .btn {
        width: 100%;
    }

    /* Cookie Settings Modal responsive */
    .cookie-settings-panel {
        width: 95%;
        margin: 10px;
        max-height: 85vh;
    }

    .cookie-settings-header {
        padding: 1rem;
    }

    .cookie-settings-body {
        padding: 1rem;
    }

    .cookie-option {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-option-toggle {
        align-self: flex-start;
    }

    .auth-card {
        padding: 30px;
        margin: 15px;
    }

    .card-body {
        padding: 1rem;
    }

    .table {
        font-size: 0.9rem;
    }

    .btn {
        padding: 10px 20px;
    }

    #confirmation-panel {
        padding: 1rem;
    }

    /* Footer responsive */
    .footer .container {
        padding: 40px 20px 25px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-badges {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 15px 10px;
    }

    .card {
        margin-bottom: 1rem;
    }

    .form-control,
    .form-select {
        font-size: 16px !important; /* Prevent zoom on iOS */
    }
}

/* ================================
   Print Styles
   ================================ */

@media print {
    .navbar,
    .footer,
    .cookie-consent-banner,
    .btn {
        display: none !important;
    }

    body {
        background: white;
        padding-top: 0;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ================================
   Hero Section - Rollenplanner Style
   ================================ */

.hero-section {
    background: linear-gradient(135deg, #E8F4F8 0%, #FFF5F5 50%, #F8E5FF 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero-decorations .decoration {
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.decoration-1 { top: 10%; left: 5%; animation-delay: 0s; }
.decoration-2 { top: 20%; right: 10%; animation-delay: 1s; }
.decoration-3 { bottom: 30%; left: 15%; animation-delay: 2s; }
.decoration-4 { bottom: 20%; right: 5%; animation-delay: 3s; }
.decoration-5 { top: 50%; left: 50%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-light);
}

.hero-card {
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: rotate(0deg);
}

.min-vh-75 {
    min-height: 75vh;
}

/* Top Hapjes List */
.top-hapjes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-hapje-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
}

.top-hapje-item:last-child {
    border-bottom: none;
}

.hapje-rank {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent), #FFD93D);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 12px;
    font-size: 0.9rem;
}

.hapje-naam {
    flex: 1;
    font-weight: 500;
    color: var(--dark);
}

/* ================================
   Section Headers
   ================================ */

.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-badge-secondary {
    background: rgba(78, 205, 196, 0.1);
    color: var(--secondary);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
}

/* ================================
   Step Cards
   ================================ */

.step-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(255, 107, 107, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 1.5rem;
}

.step-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.step-text {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ================================
   CTA Section
   ================================ */

.cta-section {
    padding: 4rem 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.cta-card .btn-light {
    background: white;
    color: var(--primary);
    border: none;
    font-weight: 600;
}

.cta-card .btn-light:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.cta-decorations {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 1rem;
    opacity: 0.2;
    font-size: 3rem;
}

/* ================================
   Feature Icons - Small variant
   ================================ */

.feature-icon-sm {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.25rem;
}

/* ================================
   Responsive - Hero & Steps
   ================================ */

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-card {
        margin-top: 3rem;
        transform: none;
    }

    .cta-decorations {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .step-card {
        padding: 1.5rem;
    }

    .cta-card {
        padding: 2rem;
        text-align: center;
    }

    .cta-title {
        font-size: 1.5rem;
    }
}
