* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light mode variabelen */
    --bg-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-secondary: white;
    --text-primary: #333;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    --card-bg: white;
    --input-bg: white;
    --filter-btn-bg: white;
    --summary-bg: white;
}

[data-theme="dark"] {
    /* Dark mode variabelen - Verbeterd contrast */
    --bg-primary: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    --bg-secondary: #0f1419;
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    --border-color: #4a5568;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    --card-bg: #2d3748;
    --input-bg: #2d3748;
    --filter-btn-bg: #2d3748;
    --summary-bg: #2d3748;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    padding: 20px;
    transition: all 0.3s ease;
}

.app {
    min-height: 100vh;
}

.app-header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.app-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.app-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(0, 0, 0, 0.3);
    color: #f7fafc;
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* Recipe Detail Header Layout */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    min-height: 60px;
}

.header-content h1 {
    flex: 1;
    text-align: center;
    margin: 0;
    font-size: 2.2rem;
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    order: 1;
    margin-right: auto;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

[data-theme="dark"] .back-btn {
    background: rgba(0, 0, 0, 0.3);
    color: #f7fafc;
    border: 2px solid #f7fafc;
}

[data-theme="dark"] .back-btn:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* Theme Toggle voor recipe detail pagina */
.recipe-detail-page .theme-toggle {
    position: relative;
    top: auto;
    right: auto;
    order: 3;
    margin-left: auto;
}

/* Responsive layout voor recipe detail header */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .header-content h1 {
        order: 2;
        margin: 10px 0;
        font-size: 1.8rem;
    }

    .back-btn {
        order: 1;
        margin-right: 0;
        align-self: flex-start;
    }

    .recipe-detail-page .theme-toggle {
        order: 3;
        margin-left: 0;
        align-self: flex-end;
        position: absolute;
        top: 0;
        right: 0;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 10px;
    }

    .back-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .recipe-detail-page .theme-toggle {
        top: -10px;
        right: 0;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .header-content h1 {
        font-size: 1.5rem;
    }
}

/* Form Sectie */
.add-product-section {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    border: 2px solid var(--border-color);
}

.add-product-section h2 {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}

/* Verbeterde responsive design */
@media (max-width: 1024px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .form-grid input, .form-grid select {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .quantity-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .add-btn {
        width: 100%;
        margin-top: 10px;
    }
}

.form-grid input, .form-grid select {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    width: 100%;
    background: var(--input-bg);
    color: var(--text-primary);
}

.form-grid input:focus, .form-grid select:focus {
    outline: none;
    border-color: #667eea;
}

.quantity-group {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
}

.add-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
    white-space: nowrap;
}

.add-btn:hover {
    transform: translateY(-2px);
}

/* Filters */
.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: var(--filter-btn-bg);
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
}

.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Producten Grid */
.products-section, .recipes-section, .shopping-section, .stats-section {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    border: 2px solid var(--border-color);
}

.products-section h2, .recipes-section h2, .shopping-section h2, .stats-section h2 {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.empty-message {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    background: var(--card-bg);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* Light Mode Product Cards */
.product-card.expired {
    border-color: #fc8181;
    background: linear-gradient(135deg, #fed7d7, #feb2b2);
}

.product-card.soon {
    border-color: #faf089;
    background: linear-gradient(135deg, #fefcbf, #faf089);
}

.product-card.good {
    border-color: #9ae6b4;
    background: linear-gradient(135deg, #c6f6d5, #9ae6b4);
}

/* Dark Mode Product Cards - Verbeterde versie */
[data-theme="dark"] .product-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .product-card.good {
    border-left: 6px solid #38a169;
    background: linear-gradient(135deg, #1e4530, #2d3748);
    border: 2px solid #38a169;
}

[data-theme="dark"] .product-card.soon {
    border-left: 6px solid #d69e2e;
    background: linear-gradient(135deg, #4a3c1a, #2d3748);
    border: 2px solid #d69e2e;
}

[data-theme="dark"] .product-card.expired {
    border-left: 6px solid #e53e3e;
    background: linear-gradient(135deg, #4a1e1e, #2d3748);
    border: 2px solid #e53e3e;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.product-header h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 0;
    text-transform: capitalize;
}

[data-theme="dark"] .product-header h3 {
    color: #f7fafc;
    font-weight: 600;
}

.remove-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
    color: var(--text-primary);
}

.remove-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .remove-btn {
    color: #cbd5e0;
}

[data-theme="dark"] .remove-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.product-details p {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

[data-theme="dark"] .product-details p {
    color: #e2e8f0;
}

.expiration-status {
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
}

.expiration-status.expired {
    background: #fed7d7;
    color: #c53030;
}

.expiration-status.soon {
    background: #fefcbf;
    color: #d69e2e;
}

.expiration-status.good {
    background: #c6f6d5;
    color: #276749;
}

[data-theme="dark"] .expiration-status {
    background: #4a5568;
    color: var(--text-primary);
    font-weight: bold;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .expiration-status.good {
    background: #22543d;
    color: #9ae6b4;
    border: 1px solid #38a169;
}

[data-theme="dark"] .expiration-status.soon {
    background: #744210;
    color: #faf089;
    border: 1px solid #d69e2e;
}

[data-theme="dark"] .expiration-status.expired {
    background: #742a2a;
    color: #fed7d7;
    border: 1px solid #e53e3e;
}

/* Recepten Styling */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
}

.recipe-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    background: var(--card-bg);
    transition: transform 0.3s, box-shadow 0.3s;
}

.recipe-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .recipe-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .recipe-card:hover {
    border-color: #667eea;
}

.recipe-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.recipe-header h3 {
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

[data-theme="dark"] .recipe-header h3 {
    color: #f7fafc;
}

.match-badge {
    background: #667eea;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.recipe-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.recipe-badge {
    background: var(--border-color);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

[data-theme="dark"] .recipe-badge {
    background: #4a5568;
    color: #e2e8f0;
    border: 1px solid var(--border-color);
}

.match-high {
    background: #48bb78 !important;
    color: white;
}

.match-medium {
    background: #ed8936 !important;
    color: white;
}

.match-low {
    background: #f56565 !important;
    color: white;
}

.nutrition-info {
    background: var(--border-color);
    padding: 10px 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-left: 4px solid #667eea;
}

[data-theme="dark"] .nutrition-info {
    background: #4a5568;
    color: #e2e8f0;
    border-left: 4px solid #667eea;
    border: 1px solid var(--border-color);
}

.ingredients-grid {
    display: grid;
    gap: 8px;
    margin: 15px 0;
}

.ingredient-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s;
    gap: 10px;
    background: var(--border-color);
}

[data-theme="dark"] .ingredient-item {
    background: #4a5568;
    border: 1px solid var(--border-color);
}

.ingredient-item.matching {
    background: #f0fff4;
    border-left: 4px solid #48bb78;
}

[data-theme="dark"] .ingredient-item.matching {
    background: #22543d;
    border-left: 4px solid #48bb78;
    border: 1px solid #38a169;
}

.ingredient-item.missing {
    background: #fff5f5;
    border-left: 4px solid #f56565;
    cursor: pointer;
}

[data-theme="dark"] .ingredient-item.missing {
    background: #742a2a;
    border-left: 4px solid #f56565;
    border: 1px solid #e53e3e;
}

.ingredient-item.missing:hover {
    background: #fed7d7;
    transform: translateX(5px);
}

[data-theme="dark"] .ingredient-item.missing:hover {
    background: #902727;
    border-color: #f56565;
}

.ingredient-check {
    font-weight: bold;
    width: 20px;
    text-align: center;
}

.ingredient-name {
    flex: 1;
    text-transform: capitalize;
    font-weight: 500;
    color: var(--text-primary);
}

[data-theme="dark"] .ingredient-name {
    color: #f7fafc;
}

.ingredient-amount {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 10px;
}

.add-shopping-btn {
    background: #667eea;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    border: none;
}

.recipe-instructions {
    margin: 20px 0;
}

.recipe-instructions h4 {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.recipe-instructions ol {
    margin-left: 20px;
    color: var(--text-secondary);
}

.recipe-instructions li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.recipe-actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.action-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.action-btn:hover {
    background: #5a67d8;
}

/* Boodschappenlijst */
.shopping-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.clear-btn, .print-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.clear-btn {
    background: #fed7d7;
    color: #c53030;
}

.print-btn {
    background: #c6f6d5;
    color: #276749;
}

.clear-btn:hover, .print-btn:hover {
    transform: translateY(-2px);
}

[data-theme="dark"] .clear-btn {
    background: #742a2a;
    color: #fed7d7;
    border: 1px solid #e53e3e;
}

[data-theme="dark"] .print-btn {
    background: #22543d;
    color: #9ae6b4;
    border: 1px solid #38a169;
}

.shopping-items {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.shopping-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--border-color);
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .shopping-item {
    background: #4a5568;
    border: 2px solid var(--border-color);
}

.shopping-item-name {
    font-weight: 500;
    text-transform: capitalize;
    color: var(--text-primary);
}

[data-theme="dark"] .shopping-item-name {
    color: #f7fafc;
}

.remove-shopping-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
    color: var(--text-primary);
}

.remove-shopping-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .remove-shopping-btn {
    color: #cbd5e0;
}

[data-theme="dark"] .remove-shopping-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.shopping-total {
    padding: 15px;
    background: var(--border-color);
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-primary);
}

[data-theme="dark"] .shopping-total {
    background: #4a5568;
    border: 2px solid var(--border-color);
    color: #f7fafc;
}

/* Samenvatting */
.summary {
    background: var(--summary-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
}

.summary h3 {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

[data-theme="dark"] .summary h3 {
    color: #e2e8f0;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: var(--border-color);
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .stat {
    background: #4a5568;
    border: 2px solid var(--border-color);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Statistieken Sectie */
.stats-section {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    border: 2px solid var(--border-color);
}

.stats-section h2 {
    margin-bottom: 25px;
    color: var(--text-secondary);
    text-align: center;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--border-color);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: transform 0.3s;
}

[data-theme="dark"] .stat-card {
    background: #4a5568;
    border: 2px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-right: 15px;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.chart-container {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    margin-bottom: 30px;
    position: relative;
    height: 400px;
}

[data-theme="dark"] .chart-container {
    background: #2d3748;
    border: 2px solid var(--border-color);
}

/* Dieet Sectie */
.diet-section {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    border: 2px solid var(--border-color);
    display: none;
}

.diet-section h2 {
    margin-bottom: 25px;
    color: var(--text-secondary);
    text-align: center;
}

.diet-content {
    max-width: 800px;
    margin: 0 auto;
}

.diet-explanation {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
}

[data-theme="dark"] .diet-explanation {
    background: #4a5568;
    color: #e2e8f0;
    border: 1px solid var(--border-color);
}

.diet-options-section {
    margin-bottom: 30px;
}

.diet-options-section h3 {
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
}

.diet-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.diet-option {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

[data-theme="dark"] .diet-option {
    background: #4a5568;
    border: 2px solid var(--border-color);
}

.diet-option:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: #667eea;
}

.diet-option input {
    align-self: flex-start;
    margin-bottom: 10px;
}

.diet-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.diet-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

[data-theme="dark"] .diet-label {
    color: #f7fafc;
}

.diet-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.custom-allergies-section {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--border-color);
    border-radius: 12px;
}

[data-theme="dark"] .custom-allergies-section {
    background: #4a5568;
    border: 1px solid var(--border-color);
}

.custom-allergies-section h3 {
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
}

.allergy-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.allergy-input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 1rem;
}

.allergy-input:focus {
    outline: none;
    border-color: #667eea;
}

[data-theme="dark"] .allergy-input {
    background: #2d3748;
    border: 2px solid var(--border-color);
    color: #f7fafc;
}

.add-allergy-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.add-allergy-btn:hover {
    background: #5a67d8;
}

.allergy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 50px;
}

.allergy-tag {
    display: inline-flex;
    align-items: center;
    background: #667eea;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.allergy-tag:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.remove-allergy {
    background: none;
    border: none;
    color: white;
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.remove-allergy:hover {
    background: rgba(255, 255, 255, 0.2);
}

.no-allergies {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    width: 100%;
}

.diet-summary {
    padding: 25px;
    background: var(--border-color);
    border-radius: 12px;
}

[data-theme="dark"] .diet-summary {
    background: #4a5568;
    border: 1px solid var(--border-color);
}

.diet-summary h3 {
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-align: center;
}

.active-restrictions {
    text-align: center;
}

.restrictions-list {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    color: var(--text-primary);
    font-weight: 500;
}

[data-theme="dark"] .restrictions-list {
    background: #2d3748;
    color: #f7fafc;
    border: 1px solid var(--border-color);
}

.no-restrictions {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 10px;
}

/* Dieet Badges in Recepten */
.recipe-header-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.diet-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.diet-badge.vegetarian {
    background: #48bb78;
    color: white;
}

.diet-badge.vegan {
    background: #38a169;
    color: white;
}

.diet-badge.gluten-free {
    background: #ed8936;
    color: white;
}

/* Recipe Detail Styles */
.recipe-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.recipe-detail-card {
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    overflow: hidden;
}

[data-theme="dark"] .recipe-detail-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
}

.recipe-detail-header {
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

[data-theme="dark"] .recipe-detail-header {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    border-bottom: 2px solid var(--border-color);
}

.recipe-detail-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: white;
}

.recipe-meta-large {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.recipe-badge-large {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.detail-section {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .detail-section {
    border-bottom: 1px solid var(--border-color);
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h3 {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

[data-theme="dark"] .detail-section h3 {
    color: #e2e8f0;
}

.ingredients-detail-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.ingredient-detail-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s;
    gap: 15px;
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .ingredient-detail-item {
    background: #4a5568;
    border: 2px solid var(--border-color);
}

.ingredient-detail-item.available {
    background: #f0fff4;
    border-left: 4px solid #48bb78;
}

[data-theme="dark"] .ingredient-detail-item.available {
    background: #22543d;
    border-left: 4px solid #48bb78;
    border: 2px solid #38a169;
    color: #c6f6d5;
}

.ingredient-detail-item.missing {
    background: #fff5f5;
    border-left: 4px solid #f56565;
}

[data-theme="dark"] .ingredient-detail-item.missing {
    background: #742a2a;
    border-left: 4px solid #f56565;
    border: 2px solid #e53e3e;
    color: #fed7d7;
}

.ingredient-check {
    font-weight: bold;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.ingredient-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1rem;
}

[data-theme="dark"] .ingredient-name {
    color: #f7fafc;
    font-weight: 500;
}

.ingredient-amount {
    color: var(--text-muted);
    font-weight: 500;
    margin-right: 10px;
}

.add-shopping-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
}

.add-shopping-btn:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

.full-width {
    width: 100%;
}

.instructions-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.instruction-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: var(--border-color);
    border-radius: 10px;
    transition: transform 0.3s;
}

[data-theme="dark"] .instruction-step {
    background: #4a5568;
    border: 2px solid var(--border-color);
    color: #e2e8f0;
}

.instruction-step:hover {
    transform: translateX(5px);
}

[data-theme="dark"] .instruction-step:hover {
    border-color: #667eea;
}

.step-number {
    background: #667eea;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 1rem;
}

[data-theme="dark"] .step-content {
    color: #e2e8f0;
}

.tips-container {
    background: var(--border-color);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

[data-theme="dark"] .tips-container {
    background: #4a5568;
    border: 2px solid var(--border-color);
    border-left: 4px solid #667eea;
}

.tip-item {
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.5;
}

[data-theme="dark"] .tip-item {
    color: #e2e8f0;
}

.tips-container ul {
    margin-left: 20px;
    color: var(--text-primary);
}

[data-theme="dark"] .tips-container ul {
    color: #e2e8f0;
}

.tips-container li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.nutrition-item {
    background: var(--border-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

[data-theme="dark"] .nutrition-item {
    background: #4a5568;
    border: 2px solid var(--border-color);
}

.nutrition-item:hover {
    transform: translateY(-3px);
}

.nutrition-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.nutrition-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

[data-theme="dark"] .nutrition-label {
    color: #a0aec0;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 20px;
}

.action-btn.secondary {
    background: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .action-btn.secondary {
    background: #4a5568;
    color: #e2e8f0;
    border: 2px solid var(--border-color);
}

.action-btn.secondary:hover {
    background: var(--text-muted);
    color: white;
}

[data-theme="dark"] .action-btn.secondary:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.error-message {
    text-align: center;
    padding: 60px 30px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .error-message {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
}

.error-message h2 {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

[data-theme="dark"] .error-message h2 {
    color: #e2e8f0;
}

.error-message p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

[data-theme="dark"] .error-message p {
    color: #a0aec0;
}

/* Print styles voor recepten */
@media print {
    .theme-toggle,
    .back-btn,
    .add-shopping-btn,
    .action-buttons {
        display: none !important;
    }

    .recipe-detail-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }

    .recipe-detail-header {
        background: #f8f9fa !important;
        color: #333 !important;
    }

    .instruction-step {
        break-inside: avoid;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

/* Responsive aanpassingen voor recipe detail */
@media (max-width: 768px) {
    .recipe-detail-header h2 {
        font-size: 1.8rem;
    }

    .recipe-meta-large {
        gap: 10px;
    }

    .recipe-badge-large {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .detail-section {
        padding: 20px;
    }

    .instruction-step {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .step-number {
        align-self: center;
    }

    .nutrition-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .recipe-detail-header {
        padding: 20px;
    }

    .recipe-detail-header h2 {
        font-size: 1.5rem;
    }

    .detail-section h3 {
        font-size: 1.2rem;
    }

    .ingredient-detail-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .nutrition-grid {
        grid-template-columns: 1fr;
    }
}

/* Barcode Scanner Styles */
.barcode-section {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.barcode-section h3 {
    margin-bottom: 15px;
    color: var(--text-secondary);
    text-align: center;
}

.barcode-container {
    text-align: center;
}

.barcode-scanner {
    margin-bottom: 15px;
    padding: 20px;
    background: var(--border-color);
    border-radius: 10px;
    border: 2px dashed var(--border-color);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.barcode-scanner.active {
    border-color: #667eea;
    background: #f0f4ff;
}

[data-theme="dark"] .barcode-scanner.active {
    background: #2d3748;
    border-color: #667eea;
}

.barcode-status {
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    font-weight: 500;
    min-height: 20px;
}

.barcode-status.scanning {
    color: #667eea;
    background: #f0f4ff;
}

.barcode-status.success {
    color: #38a169;
    background: #f0fff4;
}

.barcode-status.error {
    color: #e53e3e;
    background: #fed7d7;
}

.barcode-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.barcode-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.barcode-btn.primary {
    background: #667eea;
    color: white;
}

.barcode-btn.primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.barcode-btn.secondary {
    background: var(--border-color);
    color: var(--text-primary);
}

.barcode-btn.secondary:hover {
    background: var(--text-muted);
    color: white;
}

/* Barcode Preview */
.barcode-preview {
    margin-top: 15px;
    padding: 15px;
    background: var(--border-color);
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.barcode-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: var(--card-bg);
    border-radius: 6px;
    margin-top: 10px;
}

.barcode-product-name {
    font-weight: 600;
    color: var(--text-primary);
}

.barcode-actions {
    display: flex;
    gap: 8px;
}

.barcode-action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
}

.barcode-action-btn.use {
    background: #48bb78;
    color: white;
}

.barcode-action-btn.cancel {
    background: var(--border-color);
    color: var(--text-primary);
}

/* Responsive barcode scanner */
@media (max-width: 768px) {
    .barcode-scanner {
        min-height: 150px;
    }

    .barcode-buttons {
        flex-direction: column;
    }

    .barcode-btn {
        width: 100%;
    }

    .barcode-result {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .barcode-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .barcode-section {
        padding: 15px;
    }

    .barcode-scanner {
        padding: 15px;
    }
}

/* Verbeterde Boodschappenlijst Styles */
.shopping-items {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.shopping-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    background: var(--border-color);
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.shopping-item:hover {
    transform: translateX(5px);
    border-color: #667eea;
}

.shopping-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.shopping-item-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.shopping-item-amount {
    background: #667eea;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    align-self: flex-start;
}

.shopping-item-recipes {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 3px;
}

.shopping-total {
    padding: 20px;
    background: var(--border-color);
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

/* Dark mode aanpassingen */
[data-theme="dark"] .shopping-item {
    background: #4a5568;
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .shopping-item:hover {
    border-color: #667eea;
}

[data-theme="dark"] .shopping-item-amount {
    background: #5a67d8;
}

[data-theme="dark"] .shopping-total {
    background: #4a5568;
    border: 2px solid var(--border-color);
}

/* Responsive design */
@media (max-width: 768px) {
    .shopping-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .shopping-item-info {
        align-items: center;
    }

    .shopping-item-amount {
        align-self: center;
    }
}

/* Barcode Scanner Styles */
.barcode-section {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.barcode-section h3 {
    margin-bottom: 15px;
    color: var(--text-secondary);
    text-align: center;
}

.barcode-container {
    text-align: center;
}

.barcode-scanner {
    margin-bottom: 15px;
    padding: 20px;
    background: var(--border-color);
    border-radius: 10px;
    border: 2px dashed var(--border-color);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.barcode-scanner.active {
    border-color: #667eea;
    background: #f0f4ff;
}

[data-theme="dark"] .barcode-scanner.active {
    background: #2d3748;
    border-color: #667eea;
}

.barcode-status {
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    font-weight: 500;
    min-height: 20px;
}

.barcode-status.scanning {
    color: #667eea;
    background: #f0f4ff;
}

.barcode-status.success {
    color: #38a169;
    background: #f0fff4;
}

.barcode-status.error {
    color: #e53e3e;
    background: #fed7d7;
}

.barcode-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.barcode-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.barcode-btn.primary {
    background: #667eea;
    color: white;
}

.barcode-btn.primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.barcode-btn.secondary {
    background: var(--border-color);
    color: var(--text-primary);
}

.barcode-btn.secondary:hover {
    background: var(--text-muted);
    color: white;
}

/* Barcode Preview */
.barcode-preview {
    margin-top: 15px;
    padding: 15px;
    background: var(--border-color);
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.barcode-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: var(--card-bg);
    border-radius: 6px;
    margin-top: 10px;
}

.barcode-product-name {
    font-weight: 600;
    color: var(--text-primary);
}

.barcode-actions {
    display: flex;
    gap: 8px;
}

.barcode-action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
}

.barcode-action-btn.use {
    background: #48bb78;
    color: white;
}

.barcode-action-btn.cancel {
    background: var(--border-color);
    color: var(--text-primary);
}

/* Verbeterde Boodschappenlijst Styles */
.shopping-items {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.shopping-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    background: var(--border-color);
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.shopping-item:hover {
    transform: translateX(5px);
    border-color: #667eea;
}

.shopping-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.shopping-item-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.shopping-item-amount {
    background: #667eea;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    align-self: flex-start;
}

.shopping-item-recipes {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 3px;
}

.shopping-total {
    padding: 20px;
    background: var(--border-color);
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

/* Dark mode aanpassingen */
[data-theme="dark"] .barcode-scanner {
    background: #4a5568;
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .barcode-status.scanning {
    background: #2d3748;
    color: #667eea;
}

[data-theme="dark"] .barcode-status.success {
    background: #22543d;
    color: #9ae6b4;
}

[data-theme="dark"] .barcode-status.error {
    background: #742a2a;
    color: #fed7d7;
}

[data-theme="dark"] .barcode-btn.secondary {
    background: #4a5568;
    color: #e2e8f0;
}

[data-theme="dark"] .barcode-preview {
    background: #4a5568;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .barcode-result {
    background: #2d3748;
}

[data-theme="dark"] .shopping-item {
    background: #4a5568;
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .shopping-item:hover {
    border-color: #667eea;
}

[data-theme="dark"] .shopping-item-amount {
    background: #5a67d8;
}

[data-theme="dark"] .shopping-total {
    background: #4a5568;
    border: 2px solid var(--border-color);
}

/* Responsive design */
@media (max-width: 768px) {
    .barcode-scanner {
        min-height: 150px;
    }

    .barcode-buttons {
        flex-direction: column;
    }

    .barcode-btn {
        width: 100%;
    }

    .barcode-result {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .barcode-actions {
        width: 100%;
        justify-content: center;
    }

    .shopping-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .shopping-item-info {
        align-items: center;
    }

    .shopping-item-amount {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .barcode-section {
        padding: 15px;
    }

    .barcode-scanner {
        padding: 15px;
    }
}

/* ===== LEARN MORE & CONTACT PAGINA STYLES ===== */

/* Back Navigation */
.back-nav {
    margin-bottom: 2rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.back-btn:hover {
    background-color: var(--hover-color);
    transform: translateX(-4px);
    border-color: #667eea;
}

[data-theme="dark"] .back-btn {
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .back-btn:hover {
    background-color: #4a5568;
    border-color: #667eea;
}

/* Info Section */
.info-section {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 2px solid var(--border-color);
}

.info-section h2 {
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
    font-size: 2rem;
}

.info-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    text-align: center;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: #667eea;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* How It Works Section */
.how-it-works {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 2px solid var(--border-color);
}

.how-it-works h2 {
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--border-color);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
    border-color: #667eea;
}

.step-number {
    background: #667eea;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Benefits Section */
.benefits {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 2px solid var(--border-color);
}

.benefits h2 {
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    padding: 2rem;
    background: var(--border-color);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: var(--shadow);
}

.benefit-item h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* FAQ Section */
.faq {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 2px solid var(--border-color);
}

.faq h2 {
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #667eea;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--border-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--hover-color);
}

.faq-question h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* CTA Section */
.cta-section {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 2px solid var(--border-color);
    text-align: center;
}

.cta-section h2 {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
}

.cta-btn.primary {
    background: #667eea;
    color: white;
}

.cta-btn.primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.cta-btn.secondary {
    background: var(--border-color);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.cta-btn.secondary:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    border-color: #667eea;
}

/* Contact Form Styles */
.contact-intro {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 2px solid var(--border-color);
    text-align: center;
}

.contact-intro h2 {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-intro p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-section {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 2px solid var(--border-color);
}

.contact-form-section h2 {
    color: var(--text-secondary);
    margin-bottom: 25px;
    text-align: center;
    font-size: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Contact Methods */
.contact-methods {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 2px solid var(--border-color);
}

.contact-methods h2 {
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.chat-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.chat-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

/* FAQ Short Section */
.faq-short {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 2px solid var(--border-color);
}

.faq-short h2 {
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
}

.quick-faq {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.quick-faq-item {
    padding: 1.5rem;
    background: var(--border-color);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.quick-faq-item:hover {
    transform: translateX(5px);
    border-color: #667eea;
}

.quick-faq-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.quick-faq-item p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.faq-link {
    text-align: center;
}

.faq-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-link a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Dark Mode Aanpassingen */
[data-theme="dark"] .info-section,
[data-theme="dark"] .how-it-works,
[data-theme="dark"] .benefits,
[data-theme="dark"] .faq,
[data-theme="dark"] .cta-section,
[data-theme="dark"] .contact-intro,
[data-theme="dark"] .contact-form-section,
[data-theme="dark"] .contact-methods,
[data-theme="dark"] .faq-short {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .step,
[data-theme="dark"] .benefit-item,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .quick-faq-item {
    background: #4a5568;
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .faq-question {
    background: #4a5568;
}

[data-theme="dark"] .cta-btn.secondary {
    background: #4a5568;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .cta-btn.secondary:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

[data-theme="dark"] .social-link {
    background: #4a5568;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .social-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-section,
    .how-it-works,
    .benefits,
    .faq,
    .cta-section,
    .contact-intro,
    .contact-form-section,
    .contact-methods,
    .faq-short {
        padding: 20px;
    }

    .info-section h2,
    .how-it-works h2,
    .benefits h2,
    .faq h2,
    .cta-section h2,
    .contact-intro h2,
    .contact-form-section h2,
    .contact-methods h2,
    .faq-short h2 {
        font-size: 1.5rem;
    }

    .feature-highlights,
    .benefits-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .steps {
        gap: 1rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .step-number {
        align-self: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }

    .social-links {
        flex-direction: column;
    }

    .social-link {
        text-align: center;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .back-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .feature-card,
    .benefit-item,
    .contact-card {
        padding: 1.5rem;
    }

    .step {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .theme-toggle,
    .back-btn,
    .cta-buttons,
    .chat-btn,
    .social-links,
    .faq-link {
        display: none !important;
    }

    .info-section,
    .how-it-works,
    .benefits,
    .faq,
    .cta-section,
    .contact-intro,
    .contact-form-section,
    .contact-methods,
    .faq-short {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

/* ===== HEADER NAVIGATION STYLES ===== */

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-text {
    flex: 1;
    min-width: 300px;
}

.header-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.header-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: white;
    margin: 0;
}

.header-nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .nav-btn {
    background: rgba(0, 0, 0, 0.3);
    color: #f7fafc;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .nav-btn:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design voor Header */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .header-text {
        min-width: auto;
    }

    .header-text h1 {
        font-size: 2rem;
    }

    .header-text p {
        font-size: 1rem;
    }

    .header-nav {
        justify-content: center;
        width: 100%;
    }

    .nav-btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 10px;
    }

    .header-text h1 {
        font-size: 1.8rem;
    }

    .header-nav {
        flex-direction: column;
        width: 100%;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
    }
}

/* Aanpassing voor de bestaande app-header */
.app-header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    padding: 20px 0;
}

/* Zorg dat de theme toggle goed gepositioneerd blijft */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(0, 0, 0, 0.3);
    color: #f7fafc;
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.4);
}