* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "header"
        "logo"
        "nav"
        "main"
        "footer";
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}
.error-message 
{
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

.success-message 
{
    color: green;
    font-size: 12px;
    margin-top: 5px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

p
{
    margin: 10;
    padding: 5px;
}
.agenda-container {
        width: 90%;
        max-width: 1000px;
        margin: 20px auto;
        padding: 20px;
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .month-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }
    .Titel-agenda
    {
        color: black;
        align-items: center;
        justify-content: center;
    }
    
    .month-nav a {
        text-decoration: none;
        padding: 8px 16px;
        background-color: #007bff;
        color: white;
        border-radius: 4px;
    }
      .month-nav h2 {
        margin: 0;
    }
    
    /* Admin agenda styling */
    .admin-agenda-container {
        width: 95%;
        max-width: 1200px;
        margin: 20px auto;
        padding: 20px;
        background-color: #f8f9fa;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        border: 2px solid #007bff;
    }
    
    /* Info notice styling */
    .info-notice {
        background-color: #e3f2fd;
        border: 2px solid #2196f3;
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .info-notice h3 {
        color: #1976d2;
        margin: 0 0 10px 0;
        font-size: 1.2em;
    }
    
    .info-notice p {
        color: #424242;
        margin: 0;
        font-size: 1em;
        line-height: 1.4;
    }
    
    .admin-agenda-title {
        color: #007bff;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .admin-export-section {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .export-btn {
        background-color: #007bff;
        color: white;
        padding: 10px 20px;
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;
        display: inline-block;
        transition: background-color 0.3s ease;
    }
    
    .export-btn:hover {
        background-color: #0056b3;
        color: white;
        text-decoration: none;
    }
    
    /* Inschrijvingsformulier styling */
    .inschrijving-container {
        width: 90%;
        max-width: 800px;
        margin: 30px auto;
        padding: 30px;
        background-color: #f9f9f9;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border: 2px solid #007bff;
    }
    
    .inschrijving-title {
        color: #007bff;
        text-align: center;
        margin-bottom: 10px;
        font-size: 1.8em;
    }
    
    .inschrijving-info {
        text-align: center;
        color: #666;
        margin-bottom: 25px;
        font-size: 1.1em;
    }
    
    .inschrijving-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 1200px;
        width: 95%;
        margin: 30px auto;
        padding: 30px;
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .inschrijving-form h3 {
        margin-top: 30px;
        margin-bottom: 15px;
        color: #007bff;
        font-size: 1.3em;
        border-bottom: 2px solid #007bff;
        padding-bottom: 5px;
    }
    
    .inschrijving-form h3:first-child {
        margin-top: 0;
    }
    
    .form-row {
        display: flex;
        gap: 20px;
    }
    
    .form-group {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .form-group label {
        margin-bottom: 8px;
        font-weight: bold;
        color: #333;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        border: 2px solid #ddd;
        border-radius: 5px;
        font-size: 1em;
        transition: border-color 0.3s ease;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    }
    
    .radio-group {
        display: flex;
        gap: 20px;
        margin-top: 8px;
    }
    
    .radio-label {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-size: 1em;
        color: #333;
        position: relative;
    }
    
    .radio-label input[type="radio"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }
    
    .radio-button {
        width: 20px;
        height: 20px;
        border: 2px solid #ddd;
        border-radius: 50%;
        margin-right: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .radio-label input[type="radio"]:checked + .radio-button {
        border-color: #007bff;
        background-color: #007bff;
    }
    
    .radio-label input[type="radio"]:checked + .radio-button::after {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: white;
    }
    
    .conditional-fields {
        margin-top: 15px;
        padding: 15px;
        background-color: #f8f9fa;
        border-left: 4px solid #007bff;
        border-radius: 5px;
    }
    
    .checkbox-group {
        margin-top: 15px;
    }
    
    .checkbox-label {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-size: 1em;
        color: #333;
    }
    
    .checkbox-label input[type="checkbox"] {
        margin-right: 10px;
        transform: scale(1.2);
    }
    
    /* Checkmark styling voor blauwe accenten */
    .checkbox-label input[type="checkbox"]:checked {
        accent-color: #007bff;
    }
    
    .checkmark {
        position: relative;
    }
    
    .form-buttons {
        margin-top: 25px;
        text-align: center;
    }
    
    .submit-btn {
        background-color: #007bff;
        color: white;
        padding: 15px 40px;
        border: none;
        border-radius: 8px;
        font-size: 1.1em;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .submit-btn:hover {
        background-color: #0056b3;
    }
    
    /* Paginering styling */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px 0;
        gap: 5px;
    }
    
    .pagination-link {
        display: inline-block;
        padding: 10px 15px;
        margin: 0 2px;
        text-decoration: none;
        color: #0853ae;
        background-color: #f9f9f9;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 1em;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .pagination-link:hover {
        background-color: #e6f3ff;
        border-color: #0853ae;
        text-decoration: none;
    }
    
    .pagination-link.active {
        background-color: #4da6ff;
        color: white;
        border-color: #4da6ff;
        font-weight: bold;
    }
    
    .pagination-link.active:hover {
        background-color: #3399ff;
    }
    
    /* Legacy responsive styling - moved to enhanced section below */
    
    .admin-event-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .admin-form-group {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .admin-form-row {
        display: flex;
        gap: 15px;
    }
    
    .admin-form-row .admin-form-group {
        flex: 1;
    }
    
    .admin-form-group label {
        font-weight: bold;
        color: #333;
    }
      .admin-form-group input,
    .admin-form-group textarea,
    .admin-form-group select {
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
    }
    
    .admin-add-btn {
        padding: 12px 24px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
        font-weight: bold;
    }
      .admin-add-btn:hover {
        background-color: #0056b3;
    }
    
    .admin-form-buttons {
        display: flex;
        gap: 10px;
        align-items: center;
    }
    
    .admin-cancel-btn {
        padding: 12px 24px;
        background-color: #6c757d;
        color: white;
        text-decoration: none;
        border-radius: 4px;
        font-size: 16px;
        font-weight: bold;
    }
    
    .admin-cancel-btn:hover {
        background-color: #5a6268;
    }
    
    /* Registration toggle buttons */
    .registration-toggle-btn {
        padding: 12px 20px;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    
    .registration-toggle-btn.open {
        background-color: #28a745;
        color: white;
    }
    
    .registration-toggle-btn.open:hover {
        background-color: #218838;
    }
    
    .registration-toggle-btn.closed {
        background-color: #dc3545;
        color: white;
    }
    
    .registration-toggle-btn.closed:hover {
        background-color: #c82333;
    }
    
    .registration-toggle-btn.disabled {
        background-color: #6c757d;
        color: #adb5bd;
        cursor: not-allowed;
        opacity: 0.65;
    }
    
    .registration-toggle-btn.disabled:hover {
        background-color: #6c757d;
    }
    
    .admin-registration-toggle {
        margin-bottom: 15px;
    }
    
    .calendar {
        width: 100%;
        color: black;
        border-collapse: collapse;
    }
    
    .calendar th, .calendar td {
        border: 1px solid black;
        padding: 8px;
        text-align: center;
    }
    
    .calendar th {
        background-color: #007bff;
        color: white;
        font-weight: bold;
    }
      .calendar td {
        height: 80px;
        vertical-align: top;
        background-color: white;
    }
      /* Styling for other month days (previous and next month) */
    .calendar td.next-month {
        background-color: #e8e8e8;
        color: #777;
    }
    
    .calendar td.next-month .day-number {
        color: #777;
    }
    
    /* Styling for past days from other months */
    .calendar td.next-month.past {
        background-color: #b0b0b0;
        color: #4a4a4a;
    }
    
    .calendar td.next-month.past .day-number {
        color: #4a4a4a;
    }
      /* Styling for past days in current month */
    .calendar td.past {
        background-color: #b0b0b0;
        color: #4a4a4a;
    }
    
    .calendar td.past .day-number {
        color: #4a4a4a;
    }
    
    .calendar td.empty {
        background-color: #f9f9f9;
    }
    
    .calendar td .day-number {
        font-weight: bold;
        margin-bottom: 5px;
    }    .calendar td .event {
        background-color: #007bff;
        padding: 4px 8px;
        border-radius: 3px;
        margin-top: 5px;
        font-size: 0.85em;
        text-align: left;
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }    .event-time {
        font-weight: bold;
        font-size: 0.9em;
        color: white;
        margin-bottom: 2px;
        text-align: center;
    }
      .event-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 5px;
        min-height: 20px;
    }
    
    .event-group {
        font-size: 1.1em;
        color: white;
        background-color: rgba(0, 0, 0, 0.3);
        text-align: center;
        margin-bottom: 5px;
        font-weight: bold;
        padding: 4px 8px;
        border-radius: 4px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
        flex: 1;
    }
    
    .event-content {
        flex: 1;
        word-wrap: break-word;
        overflow-wrap: break-word;
        color: white;
        line-height: 1.2;
    }
      .event-participants {
        font-size: 0.8em;
        font-weight: bold;
        color: #e6f3ff;
        background-color: rgba(255, 255, 255, 0.2);
        padding: 2px 6px;
        border-radius: 10px;
        display: block;
        margin: 2px auto 0 auto;
        text-align: center;
        width: fit-content;
    }
    
    .event-admin-buttons {
        display: flex;
        gap: 2px;
        align-items: flex-start;
        flex-shrink: 0;
        margin-left: auto;
    }
    .event-admin-buttons .remove-form {
        position: static;
        margin: 0;
        padding: 0;
        display: inline-block;
    }
      .edit-btn,
    .remove-btn {
        background-color: #0056b3;
        color: white;
        border: none;
        border-radius: 3px;
        padding: 0;
        cursor: pointer;
        font-size: 0.7em;
        flex-shrink: 0;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-weight: bold;
    }
    
    .remove-btn {
        background-color: #dc3545;
    }
    
    .edit-btn:hover {
        background-color: #003d82;
    }
    
    .remove-btn:hover {
        background-color: #c82333;
    }    
    /* Ensure events have enough padding to avoid overlap */
      .calendar td .event.past-event {
        background-color: #bdbdbd;
        opacity: 0.8;
    }    .calendar td .event.past-event .event-time,
    .calendar td .event.past-event .event-content {
        color: #424242;
    }
    
    .calendar td .event.past-event .event-group {
        color: white;
        background-color: rgba(66, 66, 66, 0.3);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    /* Privé lessen styling - donkerdere kleur */
    .calendar td .event.private-lesson {
        background-color: #2c3e50; /* Donkerder blauw/grijs */
        border: 2px solid #34495e;
    }
    
    .calendar td .event.private-lesson .event-group {
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    .calendar td .event.private-lesson .event-content {
        color: #ecf0f1;
    }
    
    .calendar td .event.private-lesson .event-participants {
        background-color: rgba(255, 255, 255, 0.3);
        color: #ecf0f1;
    }
    
    /* Privé indicator styling */
    .private-indicator {
        background-color: rgba(0, 0, 0, 0.7);
        color: #ffd700;
        font-size: 0.75em;
        font-weight: bold;
        padding: 2px 6px;
        border-radius: 8px;
        margin: 2px 0;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    /* Verlopen privé lessen krijgen dezelfde kleur als gewone verlopen slots */
    .calendar td .event.private-lesson.past-event {
        background-color: #bdbdbd; /* Zelfde kleur als gewone past-event */
        border-color: #95a5a6;
        opacity: 0.8;
    }
    
    .calendar td .event.private-lesson.past-event .event-content,
    .calendar td .event.private-lesson.past-event .event-participants {
        color: #424242; /* Zelfde kleur als gewone past-event */
    }
    
    .calendar td .event.private-lesson.past-event .private-indicator {
        background-color: rgba(66, 66, 66, 0.7);
        color: #8d6e63;
    }
    
    .remove-form {
        display: inline-block;
        margin: 0;
        padding: 0;
    }
    
    .event-form {
        margin-top: 5px;
    }
    
    .event-form input[type="text"] {
        padding: 4px;
        width: 80%;
        border: 1px solid black;
        border-radius: 3px;
    }
    
    .event-form button {
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 3px;        padding: 4px 8px;
        cursor: pointer;
    }
header 
{
    grid-area: header;
    text-align: center;
    background-image: url("../golf.jpg");
    background-repeat:repeat-x;
    background-position: bottom;
    background-position-x: center;
    background-size: 250px;
}

nav 
{
    grid-area: nav;
}

.lesgever
{
    /* justify-content: left; /* Verwijderen */
    /* align-items: left;   /* Verwijderen */
    color:  white;
    width: 80%; /* Behoud of pas aan naar wens */
    margin:  15px 0 15px 10px; /* Boven/onder 15px, links/rechts auto -> centreert horizontaal */
    height: auto; /* Behoudt dit zodat de div kleiner kan zijn als de content minder hoog is */
    max-height: 750px; /* Max content hoogte (780px - 30px padding = 750px) */
    padding: 15px;
    border-radius: 10px;
    background-color: #0853ae;
    /* border-image: rounded; /* Verwijderen, is geen standaard eigenschap */
    overflow: auto; /* Om de float van de afbeelding correct te omsluiten en voor scroll bij overschrijding max-height */
}

.lesgever-foto
{
    float: right;
    max-width: 50%; /* Pas eventueel aan voor betere balans met tekst */
    margin: 0 0 0 10px; /* Boven, Rechts, Onder, Links - geeft wat ruimte links en onder de foto */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.onstaan
{
    padding-bottom: 5px;
    text-align: left;
    font-family: comic Sans MS;
}
main 
{
    position: relative;
    grid-area: main;
    padding: 15px;
    height: 100%;
    background-color: #00adef;
    margin-bottom: 0; /* Changed from 5px */
    color: white;
}
main::before 
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url();
    opacity: 0.9;
    z-index: -1;
}

footer 
{
    grid-area: footer;
    text-align: left;
    padding: 10px;
    margin-top: 0; /* Changed from 20px */
    font-size: small;
    color: white;
    background-color: #00adef;
}

nav ul 
{
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
}

.div-nav 
{
    display: flex;
    width: 100%;
    align-items: center; 
    justify-content: space-between; 
}

nav li 
{
    margin-right: 10px;
    margin-bottom: 0;
}

nav a 
{
    color: #0853ae;
    text-decoration: none;
    padding: 8px 15px 5px 15px;
    display: block;
    text-align: center;
    position: relative;
}

nav a:hover::after 
{
    background-color: #0853ae;
}

nav a.active::after
{
    background-color: #0853ae;
}

nav a::after
{
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.2s;
}

.logo-link::after, .logo-link:hover::after, .logo-link.active::after
{
    display: none;
}

.logo-link 
{

    display: flex;
}

.logo-link:hover 
{
    background: none;
}

.over-h2
{
    text-align: center;
}

.inloggen
{
    justify-content: center;
    align-items: center;  
    color:  white;
    width: 500px;
    margin: 15px auto;
    height: auto;
    padding: 15px;
    border-radius: 10px;
    background-color: #0853ae;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
}
.registreer
{
    text-align: left;
    color:  white;
    width: 500px;
    margin: 15px auto;
    height: auto;
    padding: 15px;
    border-radius: 10px;
    background-color: #0853ae;
}
.onthouden {
    display: flex; /* Gebruik Flexbox om de checkbox en tekst naast elkaar te plaatsen */
    align-items: center; /* Centreer de checkbox en tekst verticaal */
    gap: 8px; /* Ruimte tussen de checkbox en de tekst */
    margin-left: 90px; /* Zorg ervoor dat de checkbox even ver begint als de invulvakken */
    margin-top: -15px; /* Voeg wat ruimte toe boven de checkbox */
    padding: 0; /* Verwijder extra padding */
}
.login
{
    width: auto;
    margin: 10px;
    margin-left: 115px;
    height: 35px;
    color: white;
    background-color: #0195cf;
    border: none;
}
.login:hover
{
    background-color: #0086ba;
}
.login:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(60%);
}
.login-header,.reg-header
{
    border-width: 100%;
    border-bottom: 3px solid white;
    padding-bottom: 5px;
    padding-top: 10px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}
.Titel
{
    border-width: 100%;
    border-bottom: 4px solid white;
    padding-bottom: 5px;
    padding-top: 5px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}
.groep-b
{
    border-width: 100%;
    padding-bottom: 5px;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
}

.groep-b li
{
    margin-left: 20px;
    padding-left: 10px;
}

.invullen
{
    border-width: 100%;
    border-bottom: 1px solid white;
    padding-bottom: 5px;
}
.registreren
{
    padding-bottom: 15px;
}
.vergeten
{
    border-width: 100%;
    border-bottom: 1px solid white;
    padding-bottom: 5px;
}
.reset-info
{
    font-size: 15px;
}
.reg-info 
{
    margin: 5px;
    display: flex;
    flex-direction: column;
}
.reg-info label 
{
    display: block;
    margin: 5px;
    font-weight: bold;
}
.reg-div
{
    border-bottom: none;
}
.reset-extra
{
    justify-content: center;
    align-items: center;  
    color:  white;
    width: auto;
    margin: 10px;
    height: auto;
    padding: 15px;
    border-radius: 10px;
    background-color: #094793;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}
.mail,.wachtwoord,.reg
{
    width: 250px;
    margin: 5px;
    padding: 5px;
}
.reg-admin
{
    width: 250px;
    margin: 5px;
    padding: 5px;
}
.reset
{
    color: #00adef;
}

/* ========== PAYMENT RETURN PAGE STYLES ========== */
/* Excel export table styles (from payment_return.php) */
.excel-export table { 
    border-collapse: collapse; 
    width: 100%; 
    font-family: Arial, sans-serif; 
}

.excel-export th, 
.excel-export td { 
    border: 1px solid #000; 
    padding: 8px; 
    text-align: left; 
    white-space: nowrap; 
}

.excel-export th { 
    background-color: #28a745; 
    color: white; 
    font-weight: bold; 
}

.excel-export .datetime { 
    mso-number-format: "dd/mm/yyyy hh:mm"; 
    width: 150px; 
}

.excel-export .payment { 
    background-color: #f8f9fa; 
    font-weight: bold; 
}

/* Payment result container styles */
.result-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.result-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.success-icon {
    color: #28a745;
}

.error-icon {
    color: #dc3545;
}

.result-message {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.success-message {
    color: #155724;
}

.error-message {
    color: #721c24;
}

.payment-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
    border: 1px solid #e9ecef;
}

.payment-details h3 {
    margin-top: 0;
    color: #333;
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
}

.payment-details p {
    margin: 12px 0;
    word-wrap: break-word;
    color: #333;
    font-size: 16px;
    line-height: 1.4;
}

.payment-details p strong {
    color: #000;
    font-weight: 600;
    display: inline-block;
    min-width: 100px;
}

.action-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.action-buttons .btn {
    display: inline-block;
    padding: 12px 24px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s;
    font-weight: 500;
    min-width: 140px;
    text-align: center;
    box-sizing: border-box;
}

.action-buttons .btn:hover {
    background: #0056b3;
    color: white;
}

.action-buttons .btn.secondary {
    background: #6c757d;
}

.action-buttons .btn.secondary:hover {
    background: #545b62;
}

/* ========== PAYMENT RETURN RESPONSIVE STYLES ========== */
/* Mobile styles (max-width: 768px) */
@media (max-width: 768px) {
    .result-container {
        margin: 15px;
        padding: 20px;
        border-radius: 8px;
    }
    
    .result-icon {
        font-size: 56px;
        margin-bottom: 15px;
    }
    
    .result-message {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .payment-details {
        padding: 15px;
        margin: 15px 0;
    }
    
    .payment-details h3 {
        font-size: 18px;
    }
    
    .payment-details p {
        font-size: 14px;
        margin: 8px 0;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 25px;
    }
    
    .action-buttons .btn {
        width: 100%;
        margin: 0;
        padding: 14px 20px;
        font-size: 16px;
        min-width: auto;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Excel export table responsive */
    .excel-export table {
        font-size: 12px;
    }
    
    .excel-export th,
    .excel-export td {
        padding: 6px;
    }
}

/* Small mobile styles (max-width: 480px) */
@media (max-width: 480px) {
    .result-container {
        margin: 10px;
        padding: 15px;
    }
    
    .result-icon {
        font-size: 48px;
        margin-bottom: 12px;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .result-message {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .payment-details {
        padding: 12px;
        margin: 12px 0;
    }
    
    .payment-details h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .payment-details p {
        font-size: 13px;
        margin: 6px 0;
    }
    
    .payment-details p strong {
        min-width: 80px;
        font-size: 13px;
    }
    
    .action-buttons .btn {
        padding: 16px 20px;
        font-size: 16px;
        min-height: 48px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Excel export table small mobile */
    .excel-export table {
        font-size: 10px;
    }
    
    .excel-export th,
    .excel-export td {
        padding: 4px;
    }
}

/* iPad/Tablet specific (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .result-container {
        max-width: 90%;
        margin: 40px auto;
        padding: 35px;
    }
    
    .result-icon {
        font-size: 80px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    .result-message {
        font-size: 20px;
        margin-bottom: 35px;
    }
    
    .payment-details {
        padding: 25px;
        margin: 25px 0;
    }
    
    .payment-details h3 {
        font-size: 22px;
    }
    
    .payment-details p {
        font-size: 18px;
        margin: 15px 0;
    }
    
    .action-buttons {
        gap: 20px;
        margin-top: 40px;
        flex-direction: row;
        justify-content: center;
    }
    
    .action-buttons .btn {
        padding: 16px 32px;
        font-size: 18px;
        min-width: 180px;
        min-height: 50px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Large tablets/small laptops */
@media (min-width: 1024px) and (max-width: 1200px) {
    .result-container {
        max-width: 700px;
    }
}

.reg
{
    width: auto;
    margin: 5px;
    padding: 5px; 
}
.sturen
{
    margin-left: 41%;
}
.aanmelden 
{
    width: 100px;
    margin-top: 20px;
    background-color: #0195cf;
    color: white;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 78%;
}
button.aanmelden:hover 
{
    background-color: #0086ba;
}
.login-info
{
    margin-top: 10px;
    display: grid;
    justify-content: center;
    position: relative;
    margin-bottom: 18px;
}
.login-info input {
    padding-left: 38px; /* ruimte voor het icoon */
}
.login-info .icon {
    position: absolute;
    left: 15px; /* Pas deze waarde aan om de gewenste afstand te bepalen */
    top: 50%; /* Zorgt ervoor dat de iconen verticaal gecentreerd zijn */
    transform: translateY(-50%);
    font-size: 18px; /* Pas de grootte van de iconen aan indien nodig */
    color:#0853ae; /* Optioneel: kleur van de iconen */
}
.icon 
{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    margin-left: 50px;
    padding-left: 50px;
}
.foto-les
{
    float: right;
    max-width:50%;
    margin: 10px;
    margin-top: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo
{
    max-width: 248px;
    margin-left: 125px;
    padding: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
}
.dropdown 
{
    position: relative;
    display: inline-block;
}

.dropdown-content 
{
    display: none;
    position: absolute;
    background-color: #0853ae;
    width: 100%;
    z-index: 1;
    left: 0;
    text-align: center;
}
.map-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    position: relative;
    align-items: center;
}
.contact-info {
    max-width: 800px;
    margin: 10px auto;
    padding: 20px;
    background-color: #0853ae;
    border-radius: 8px;
}

.map-container iframe {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
 
.dropdown-content a 
{
    color: white;
    padding: 12px 8px;
    text-decoration: none;
    display: block;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.dropdown:hover .dropdown-content 
{
    display: block;
}

.dropdown-content a:hover 
{
    background-color: #0086ba;
}

.dropdown-content a::after 
{
    display: none;
}



/* --- Hamburger Stijl (Desktop: verborgen) --- */
.hamburger {
    display: none !important; /* Forceer verbergen op desktop */
    font-size: 30px;
    background: none;
    border: none;
    color: #0853ae; /* Donkerblauw */
    cursor: pointer;
    padding: 0;
    right: 40px; /* Plaats dichter bij de rechterkant */
}
/* --- Einde Hamburger Stijl --- */


@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Slideshow container */
.slideshow-container {
  width: 80%; /* Changed from max-width: 1000px */
  position: relative;
  margin: 10px auto; /* Ensures centering and adds some margin */
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.mySlides img {
  width: 100%; /* Ensures image takes full width of its container */
  border-radius: 15px; /* Added for rounded corners */
  display: block; /* Helps with potential spacing issues */
}


/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #094793;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 2.5s ease;
}

/* Active dot and dot hover style */
.active, .dot:hover {
  background-color: #f2f2f2;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 3s;
}

/* Homepage Section Title */
.home-section-title-container {
    text-align: center;
    margin: 30px 0;
}

.home-section-title {
    font-size: 2em; /* Adjust size as needed */
    color: #ffffff; /* White title text */
    font-weight: bold;
    text-transform: uppercase;
}

/* Homepage Content Blocks */
.home-blocks-container {
    display: flex;
    justify-content: center; /* Center the blocks */
    align-items: stretch; /* Make blocks of equal height if content differs */
    flex-wrap: wrap; /* Allow wrapping on smaller screens if necessary */
    gap: 20px; /* Space between blocks */
    padding: 20px 0;
}

.home-block {
    background-color: #f8f9fa; /* Light background for the blocks */
    border-radius: 15px; /* Rounded corners */
    padding: 20px;
    text-align: center;
    width: 300px; /* Adjust width as needed, or use flex-basis */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333; /* Darker text color for readability on light background */
    display: flex;
    flex-direction: column; /* Align items vertically */
    justify-content: space-between; /* Push button to the bottom */
}

.home-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Slightly rounded corners for images inside blocks */
    margin-bottom: 15px;
}

.home-block h3 {
    font-size: 1.4em;
    color: #0853ae; /* Using a blue from your existing theme */
    margin-top: 0;
    margin-bottom: 10px;
}

.home-block p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1; /* Allow paragraph to take available space */
}

.home-block-button {
    display: inline-block;
    background-color: #0195cf; /* Button color from your theme */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Pushes button to the bottom if block is taller */
}

.home-block-button:hover {
    background-color: #007bff; /* Darker shade on hover */
    color: white;
}

.footer-links-container {
    width: 100%;
    padding: 40px 0;
    margin-top: 10px;
    border-top: #ffffff solid 4px;
    border-bottom: #ffffff solid 4px;
}

.footer-links-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    color: #fff;
}

.footer-links-block {
    flex: 1 1 200px;
    min-width: 180px;
    text-align: left;
}
.footer-links-block h3 {
    color: #ffffff;
    font-size: 1.2em;
    margin-bottom: 10px;
}
.footer-links-block ul {
    list-style: disc inside;
    padding-left: 0;
    margin: 0;
}
.footer-links-block ul li {
    margin-bottom: 8px;
}
.footer-links-block ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.2s;
}
.footer-links-block ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

#scrollTopBtn {
    display: none; /* standaard verborgen */
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    font-size: 24px;
    border: none;
    outline: none;
    background-color: #0853ae;
    color: white;
    cursor: pointer;
    padding: 16px 20px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.3s;
    align-items: center;
    justify-content: center;
}

#scrollTopBtn:hover {
    background-color: #0195cf;
}
.footer-social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 8px;
}
.footer-social-icon svg {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.2s;
}
.footer-social-icon:hover svg {
    transform: scale(1.15);
}

/* Voeg toe aan opmaak/opmaak.css */
.centered-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.admin-form > div {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px auto;
    max-width: 800px;
    padding: 10px;
    box-sizing: border-box;
}

/* Stijl voor de filter dropdown */
.filter-container select {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    width: 200px;
    max-width: 100%;
}

/* Stijl voor de filterknop (voor no-JS ondersteuning) */
.filter-container button {
    padding: 10px 20px;
    font-size: 1em;
    background-color: #0195cf;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-container button:hover {
    background-color: #0086ba;
}

/* Sterren in reviews */
.review-blok .review-ster {
    color: #FFD700 !important;
    font-size: 1.3em;
    margin-left: 10px;
    letter-spacing: 1px;
    vertical-align: middle;
}
.review-blok .star {
    color: #FFD700 !important;
}
.review-blok .star-empty {
    color: #bbb !important;
}

/* Sterren bij review schrijven */
.star-rating {
    direction: rtl;
    display: inline-flex;
    font-size: 2em;
    user-select: none;
}
.star-rating input[type="radio"] {
    display: none;
}
.star-rating label {
    color: #bbb;
    cursor: pointer;
    font-size: 1em;
    position: relative;
    padding: 0 2px;
    transition: color 0.2s;
}
.star-rating input[type="radio"]:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #FFD700;
}

/* Admin antwoord styling */
.admin-reply {
    margin-top: 15px;
    padding: 10px;
    background: #e6f0ff;
    border-left: 4px solid #0853ae;
    color: #0853ae;
    border-radius: 4px;
    font-size: 1em;
}
.admin-reply strong {
    color: #0853ae;
}

/* Sterren in reviews */
.review-blok .review-ster {
    color: #FFD700 !important;
    font-size: 1.3em;
    margin-left: 10px;
    letter-spacing: 1px;
    vertical-align: middle;
}
.review-blok .star {
    color: #FFD700 !important;
}
.review-blok .star-empty {
    color: #bbb !important;
}
.review-blok .half-star {
    display: inline-block;
    position: relative;
    width: 1.1em;
    height: 1.1em;
    vertical-align: middle;
    margin: 0 1px;
}
.review-blok .half-star .left {
    color: #FFD700;
    position: absolute;
    width: 50%;
    overflow: hidden;
    left: 0;
    top: 0;
    height: 100%;
}
.review-blok .half-star .right {
    color: #bbb;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* Sterren bij review schrijven */
.star-rating {
    direction: rtl;
    display: inline-flex;
    font-size: 2em;
    user-select: none;
}
.star-rating input[type="radio"] {
    display: none;
}
.star-rating label {
    color: #bbb;
    cursor: pointer;
    font-size: 1em;
    position: relative;
    padding: 0 2px;
    transition: color 0.2s;
}
.star-rating input[type="radio"]:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #FFD700;
}
.star-rating .half-star-label {
    position: relative;
    display: inline-block;
    width: 1em;
    overflow: hidden;
}
.star-rating .half-star-label .half-star {
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #FFD700;
    pointer-events: none;
}
.star-rating .half-star-label .empty-star {
    color: #bbb;
}

/* Admin antwoord styling */
.admin-reply {
    margin-top: 15px;
    padding: 10px;
    background: #e6f0ff;
    border-left: 4px solid #0853ae;
    color: #0853ae;
    border-radius: 4px;
    font-size: 1em;
}
.admin-reply strong {
    color: #0853ae;
}
.info-notice
{
    color: black;
}

/* Voeg dit toe onder je bestaande .star-rating of onderaan je CSS */
.star-rating {
    justify-content: center;
    align-items: center;
    width: 100%;
    display: flex;
    margin-bottom: 10px;
}

/* Container voor recente reviews */
.reviews-container {
    background: #0853ae;
    border-radius: 16px;
    max-width: 900px;
    margin: 30px auto 30px auto;
    padding: 48px 24px 48px 24px; /* top, right, bottom, left */
    box-sizing: border-box;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}
.reviews-title {
    text-align: center;
    margin-bottom: 18px;
}
.review-blok {
    background: #f8fbff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 24px 20px 24px 20px; /* top, right, bottom, left */
    margin: 30px auto 30px auto;
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    text-align: left;
    color: #002147;
}
.review-blok:last-child {
    border-bottom: none;
}
.review-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}
.review-naam {
    color: #222;
}
.review-ster {
    color: #f5b301;
    font-size: 1.1em;
}
.review-bericht {
    margin: 7px 0 5px 0;
    color: #222;
}
.review-datum {
    color: #888;
    font-size: 0.95em;
}
.review-leeg, .review-error {
    text-align: center;
    color: #888;
    font-size: 1.1em;
}
.review-error {
    color: #a00;
}
.reviews-link {
    text-align: right;
    margin-top: 10px;
}
.reviews-link a {
    color: #0853ae;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1em;
    display: inline-flex;
    align-items: center;
}
.reviews-link-arrow {
    font-size: 1.5em;
    margin-left: 6px;
}


/* Cookie banner styling */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0853ae;
    color: #fff;
    padding: 18px 10px 14px 10px;
    text-align: center;
    z-index: 9999;
    font-size: 1em;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}
.cookie-banner a {
    color: #ffffff;
    text-decoration: underline;
}
.cookie-accept {
    margin-left: 18px;
    background: #fff;
    color: #0853ae;
    border: none;
    border-radius: 4px;
    padding: 7px 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.cookie-accept:hover {
    background: #007bff;
    color: #0853ae;
}



.review-naam {
    font-weight: bold;
    margin-bottom: 4px;
}

.review-ster {
    margin-left: 10px;
    color: #FFD700;
    font-size: 1.1em;
}

.star {
    color: #FFD700;
}

.star-empty {
    color: #ccc;
}

.review-bericht {
    margin: 8px 0;
}

.review-datum {
    color: #888;
    font-size: 0.95em;
}

.review-delete-form {
    position: absolute;
    top: 8px;
    right: 8px;
    display: inline;
}

.review-delete-btn {
    background: none;
    border: none;
    color: #a00;
    font-size: 18px;
    cursor: pointer;
    background: none;
    border: none;
    color: #b00;
    font-size: 1.3em;
    float: right;
    cursor: pointer;
    margin-left: 10px;
}

.admin-reply {
    margin-top: 15px;
    padding: 10px;
    background: #e6f0ff;
    border-left: 4px solid #0853ae;
    color: #0853ae;
}

.admin-reply-delete-form {
    display: inline;
}

.admin-reply-delete-btn {
    background: none;
    border: none;
    color: #a00;
    font-size: 1em;
    cursor: pointer;
    margin-left: 10px;
    background: none;
    border: none;
    color: #b00;
    font-size: 1.3em;
    float: right;
    cursor: pointer;
    margin-left: 10px;
}

.admin-reply-form {
    margin-top: 10px;
    display: inline;
}

.admin-reply-form textarea {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 6px;
    font-size: 1em;
}

.admin-reply-save-btn {
    margin-top: 5px;
    background: #0853ae;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 16px;
    cursor: pointer;
    font-weight: bold;
}

/* Voeg toe aan: c:\X swim\Website-xswim\opmaak\opmaak.css */

.reviews-home-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 24px 20px 16px 20px;
    max-width: 900px;
    margin: 40px auto 40px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reviews-home-container h2 {
    color: #0a3d62;
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 2em;
    font-weight: bold;
}

.review-home-blok {
    background: darkgray;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    padding: 18px 16px 12px 16px;
    margin-bottom: 18px;
    width: 100%;
    max-width: 500px;
    text-align: left;
    display: block;
}

.review-home-naam {
    font-weight: bold;
    color: #0a3d62;
    margin-bottom: 4px;
    font-size: 1.1em;
}

.review-home-ster {
    margin-left: 10px;
    color: #FFD700;
    font-size: 1.1em;
}

.star-home {
    color: #FFD700;
}

.star-home-empty {
    color: #bbb !important;
}

.review-home-datum {
    color: black;
    font-size: 0.95em;
    margin-top: 6px;
}

.review-home-blok .review-home-bericht {
    color:#002147;
    margin: 8px 0;
}

.reviews-home-link {
    display: inline-flex;
    align-items: center;
    color: #0a3d62;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    font-size: 1.1em;
    transition: color 0.2s;
}

.reviews-home-link:hover {
    color: #145da0;
}

.reviews-home-arrow {
    font-size: 1.2em;
    margin-right: 6px;
}

/* Voeg toe aan: c:\X swim\Website-xswim\opmaak\opmaak.css */

.recent-reviews-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 24px 20px 16px 20px;
    max-width: 900px;
    margin: 40px auto 40px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
    .onthouden {
        display: flex; /* Gebruik Flexbox voor desktop */
        align-items: center; /* Centreer de checkbox en tekst verticaal */
        gap: 8px; /* Ruimte tussen de checkbox en de tekst */
        justify-content: left;
        margin-right: 30px;
        }

    .onthouden input[type="checkbox"] {
        margin: 0; /* Verwijder extra marge rond de checkbox */
    }

    .onthouden label {
        margin: 0; /* Verwijder extra marge rond de tekst */
        line-height: 1; /* Zorg ervoor dat de tekst niet hoger wordt dan nodig */
        font-size: 14px; /* Pas de tekstgrootte aan */
        user-select: none; /* Voorkom onbedoelde selectie bij tikken */
    }

.recent-reviews-container h2 {
    color: #0a3d62;
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 2em;
    font-weight: bold;
}

/* Sterren in recente reviews op homepage */
.review-home-ster {
    color: #FFD700;
    font-size: 1.1em;
    margin-left: 8px;
    letter-spacing: 1px;
    vertical-align: middle;
}

/* Gevulde sterren in recente reviews */
.star-home {
    color: #FFD700 !important; /* Goudgeel voor gevulde sterren */
}

/* Lege sterren in recente reviews */
.star-home-empty {
    color: #ccc !important; /* Grijs voor lege sterren */
}

.review-naam {
    font-weight: bold;
    color: #0a3d62;
    margin-bottom: 4px;
    font-size: 1.1em;
}

.review-ster {
    margin-left: 10px;
    color: #FFD700;
    font-size: 1.1em;
}

.star {
    color: #FFD700;
}

.star-empty {
    color: #bbb !important;
}

.review-datum {
    color: #888;
    font-size: 0.95em;
    margin-top: 6px;
}

.review-blok .review-bericht,
.review-blok > div[style] {
    margin: 8px 0;
}

.reviews-link {
    display: inline-flex;
    align-items: center;
    color: #0a3d62;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    font-size: 1.1em;
    transition: color 0.2s;
}

.reviews-link:hover {
    color: #145da0;
}

.reviews-arrow {
    font-size: 1.2em;
    margin-right: 6px;
}

/* --- RESPONSIVE ALLES-IN-1 MEDIA QUERY --- */
@media screen and (max-width: 900px) {
    html, body {
        overflow-x: hidden !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    body {
        grid-template-areas:
            "header"
            "logo"
            "nav"
            "main"
            "footer";
        grid-template-columns: 1fr;
        padding: 0;
        font-size: 0.97em !important;
    }

    header {
        padding: 0;
        background-size: 60vw auto; /* Responsive golf */
        background-position: bottom center;
        padding-bottom: 16vw;      /* Zorg dat golf niet overlapt */
        min-height: 60px;
        position: relative;
    }

    .div-nav {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        min-height: 60px;
        position: relative;
        padding-top: 60px; /* Ruimte voor het logo bovenaan */
        padding-right: 60px; /* Ruimte voor hamburger menu */
    }

    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-container select,
    .filter-container button {
        width: 100%;
    }

    .logo {
        margin-left: 2px;
        margin-bottom: 0;
        max-width: 180px;
        width: 90vw;
        max-width: 120px !important;
        width: 30vw !important;
        height: auto;
        display: block;
        margin: 0 auto;
        z-index: 10;
        background: transparent;
    }

    .logo-link {
        padding: 5px 0;
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10; /* Zorg dat logo boven golf staat */
        width: auto;
        background: transparent;
        padding: 0;
        margin: 0;
        display: block;
        text-align: center;
        border-bottom: none !important;
        box-shadow: none !important;
    }

    nav {
        width: 100%;
    }

    /* Hamburger menu zichtbaar */
    .hamburger {
        display: block !important;
        position: absolute;
        right: 15px;
        top: 15px;
        z-index: 1001;
        background: none;
        border: none;
        font-size: 2em;
        color: #0853ae; /* Donkerblauw */
        cursor: pointer;
        padding: 10px;
        margin: 0;
    }

    /* Mobiel menu standaard verborgen, alleen .active tonen */
    nav ul,
    nav ul.nav-links {
        display: none !important;
        flex-direction: column;
        width: max-content;
        min-width: 140px;
        max-width: 90vw;
        left: auto;
        right: 20px;
        position: absolute;
        top: 100%;
        background: #0853ae; /* Donkerblauw */
        z-index: 1000;
        padding: 8px 14px;
        margin: 0;
        list-style-type: none;
        align-items: stretch;
        border-top: 1px solid #0195cf;
        border-radius: 8px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }
    nav ul.active,
    nav ul.nav-links.active {
        display: flex !important;
    }
    nav li {
        margin: 4px 0;
        width: 100%;
        text-align: center;
    }
    nav a {
        padding: 10px 0;
        display: block;
        width: 100%;
        background: #0853ae; /* Donkerblauw */
        color: #fff;
        font-size: 17px;
        border-radius: 4px;
    }
    nav a:last-child {
        border-bottom: none;
    }

    main {
        padding: 10px;
        font-size: 16px;
        padding-top: 0 !important; /* Geen overlap met header */
        margin-top: 0 !important;
    }

    .inloggen, .registreerS, .contact-info, .map-container {
        width: 98vw !important;
        max-width: 100vw !important;
        margin-left: auto;
        margin-right: auto;
        padding: 10px !important;
        box-sizing: border-box;
    }

    .onthouden {
        margin-left: 0 !important;
        text-align: center;
        display: block;
    }

    .aanmelden {
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 20px;
        display: block;
    }

    .mail, .wachtwoord, .reg {
        width: 70vw !important;
        max-width: auto !important;

        
    }
    .reg-admin
    {
        width: 90vw !important;
        justify-content: center;
        max-width: 250px;
    }

    .foto-les, .lesgever-foto {
        float: none !important;
        max-width: 90vw !important;
        display: block;
        margin: 20px auto !important;
    }

    .home-blocks-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 0;
        width: 100vw !important;
        box-sizing: border-box;
        margin: 0;
    }
    .home-block {
        width: 96vw !important;
        max-width: 320px !important;
        margin: 0 auto;
        padding: 8px 4px !important;
        box-sizing: border-box;
    }

    .footer-links-inner {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .footer-links-block {
        min-width: 0;
        width: 100%;
        text-align: center;
    }

    #scrollTopBtn {
        right: 20px !important;
        bottom: 20px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1.5em !important;
    }

    /* Reviews containers */
    .reviews-container,
    .reviews-home-container,
    .recent-reviews-container {
        max-width: 98vw !important;
        padding: 12px 4vw !important;
    }
    .review-blok,
    .review-home-blok {
        max-width: 98vw !important;
        padding: 12px 2vw !important;
    }

    /* Formulieren centreren */
    .centered-form {
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    /* Admin forms */
    .admin-form > div {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    /* Responsive invulvakken */
    .mail, .wachtwoord, .reg, input[type="email"], input[type="password"], input[type="text"], input[type="tel"], input[type="number"], textarea, select {
        width: 95vw !important;
        max-width: 350px;
        box-sizing: border-box;
        font-size: 1em;
        margin: 8px auto;
        display: block;
    }

    /* Over ons: afbeelding boven, tekst onder, geen scroll in div */
    .lesgever {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 98vw !important;
        max-width: 100vw !important;
        margin: 15px auto !important;
        padding: 12px !important;
        overflow: visible !important;
        max-height: none !important;
        height: auto !important;
    }
    .lesgever-foto {
        float: none !important;
        display: block;
        margin: 0 auto 18px auto !important;
        max-width: 90vw !important;
        width: 100%;
        height: auto;
    }

    .footer-social-icons {
        justify-content: center !important;
        align-items: center !important;
        display: flex !important;
        gap: 12px !important;
        margin: 12px auto 0 auto !important;
        width: 100%;
    }
    .footer-social-icon svg {
        font-size: 1.7em !important;
    }

    /* Maak alles net iets kleiner voor mobiel */
    html {
        font-size: 15px;
    }
    body, main, .inloggen, .registreer, .recent-reviews-container, .reviews-home-container, .review-blok, .review-home-blok {
        font-size: 0.97em !important;
    }
    .home-section-title, .reviews-home-container h2, .recent-reviews-container h2 {
        font-size: 1.3em !important;
    }
    .home-block {
        width: 92vw !important;
        max-width: 340px !important;
        padding: 10px !important;
    }
    .mail, .wachtwoord, .reg, input[type="email"], input[type="password"], input[type="text"], input[type="tel"], input[type="number"], textarea, select {
        font-size: 0.97em !important;
        padding: 4px !important;
    }
    .logo {
        max-width: 150px !important;
    }
    .lesgever, .inloggen, .registreer {
        padding: 8px !important;
    }
    .lesgever-foto, .foto-les {
        max-width: 80vw !important;
    }

    .cookie-banner {
        font-size: 0.95em;
        padding: 10px 4vw 10px 4vw;
        left: 0;
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
        line-height: 1.4;
        text-align: center;
    }

    .cookie-accept {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
        width: 90vw;
        max-width: 220px;
        font-size: 1em;
        padding: 8px 0;
    }

    .reviews-home-container {
        max-width: 90vw !important;
        padding: 8px 1vw !important;
        box-sizing: border-box;
    }
    .review-home-blok {
        max-width: 98%;
        width: 98%;
        margin: 8px auto;
        box-sizing: border-box;
        padding: 10px 6px !important;
        font-size: 0.97em;
    }

    .home-section-title, .recent-reviews-container h2 {
        font-size: 1.05em !important;
        padding: 4px 0 !important;
    }

    .logo {
        max-width: 220px !important;   /* Maak logo groter */
        width: 50vw !important;
        height: auto;
        display: block;
        margin: 0 auto;
        z-index: 10;
        background: transparent;
    }

    /* Verwijder blauwe lijn onder logo */
    .logo-link {
        border-bottom: none !important;
        box-shadow: none !important;
    }
    /* Als je een border onder het logo zelf hebt: */
    .logo {
        border-bottom: none !important;
        box-shadow: none !important;
    }

    #scrollTopBtn {
        right: 20px !important;  /* Meer naar links */
        bottom: 20px !important;
    }
    

    /* Alles centraal op mobiel */
    body, main, .inloggen, .registreer, .contact-info, .map-container,
    .home-blocks-container, .home-block, .recent-reviews-container, .reviews-home-container,
    .review-blok, .review-home-blok, .footer-links-inner, .footer-links-block, .centered-form,
    .lesgever, .lesgever-foto, .foto-les {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        align-items: center !important;
        justify-content: center !important;
    }

    form, button, .aanmelden, .cookie-accept {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    h1, h2, h3, .home-section-title, .reviews-title, .recent-reviews-container h2, .reviews-home-container h2 {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .footer-social-icons {
        justify-content: center !important;
        align-items: center !important;
        display: flex !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .review-blok, .review-home-blok {
        text-align: center !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Hamburger menu dropdowns gelijk maken aan het menu */
    .dropdown-content {
        position: static !important;
        display: none;
        background: #0853ae !important; /* Zelfde donkerblauw als menu */
        min-width: 140px;
        max-width: 90vw;
        width: 100%;
        padding: 0;
        margin: 0;
        border-radius: 0 0 8px 8px;
        box-shadow: none;
        z-index: 1001;
        text-align: center;
        white-space: normal;
        overflow: visible;
    }
    .dropdown.open .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: block !important;
    }
    .dropdown-content a {
        background: #0195cf !important;
        color: #fff !important;
        padding: 12px 8px;
        border-radius: 0;
        font-size: 16px;
        width: 100%;
        display: block;
        text-align: center;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
        min-height: 44px;
        box-sizing: border-box;
    }
    .over{
        font-size: 1.1em !important;
        padding: 10px 12px !important;
        margin: 12px 0 !important;
        box-sizing: border-box;
    }
    .dropdown-content a:last-child {
        border-bottom: none;
    }
    /* Zorg dat dropdowns niet breder zijn dan het menu */
    .dropdown {
        width: 100%;
    }

    .dropdown.open .dropdown-content {
        background: #2196f3 !important; /* Lichtere blauw als dropdown open is */
    }
    .dropdown-content a:hover,
    .dropdown-content a:focus {
        background: #0195cf !important; /* Nog iets lichter bij hover/focus */
        color: #fff !important;
    }
    .reset-extra {
        padding: 10px; /* Reduce padding for smaller screens */
        font-size: 14px; /* Adjust font size for better readability */
        width: 90%; /* Ensure it stays within the parent container */
        margin: 0 auto; /* Center the div */

    }
    
        input[type="text"], input[type="email"], input[type="password"], input[type="tel"], textarea, select, .reg, .reg-admin {
        width: 90%;
        max-width: 100%;
        font-size: 0.9em;
        padding: 8px;
    }

    .login-info .icon {
        position: relative;
        margin-right: 10px;
        font-size: 0;
    }

    .onthouden {
        display: grid; /* Gebruik Grid in plaats van Flexbox */
        grid-template-columns: auto 1fr; /* Eerste kolom voor de checkbox, tweede voor de tekst */
        align-items: center;
        gap: 8px; /* Ruimte tussen de checkbox en de tekst */
        margin: 0 auto; /* Verwijder eventuele extra marge */
        padding: 5px;
        text-align: center; /* Zorg ervoor dat de tekst niet gecentreerd wordt */
    }

    .onthouden input[type="checkbox"] {
        margin: 0; /* Verwijder extra marge rond de checkbox */
        width: 17px; /* Optionele grootte voor de checkbox */
        height: 17px;
        margin-left: 5px;
    }

    .onthouden label {
        margin: 0; /* Verwijder extra marge rond de tekst */
        line-height: 1; /* Zorg ervoor dat de tekst niet hoger wordt dan nodig */
        font-size: 14px; /* Pas de tekstgrootte aan voor mobiel */
        user-select: none; /* Voorkom onbedoelde selectie bij tikken */
    }

    .g-recaptcha {
        display: flex;
        justify-content: center; /* Centreert de reCAPTCHA horizontaal */
        margin: 0 auto; /* Zorgt ervoor dat de reCAPTCHA in het midden staat */
    }
        .pagination-link {
        padding: 8px 15px; /* Kleinere padding voor mobiel */
        font-size: 0.9em; /* Kleinere tekstgrootte */
        margin: 3px; /* Minder ruimte tussen knoppen */
        border: 1px solid #ddd;
        border-radius: 4px;
        background-color: #f9f9f9;
        color: #0853ae;
    }
    
    .pagination-link:hover {
        background-color: #e6f3ff;
        border-color: #0853ae;
    }
    
    .pagination-link.active {
        background-color: #4da6ff;
        color: white;
        border-color: #4da6ff;
    }
        .knoppen {
        flex-direction: column; /* Stapel knoppen onder elkaar */
        gap: 15px; /* Meer ruimte tussen knoppen */
    }
    .reg,
    .admin-reply {
        width: 90%; /* Gebruik 90% van de schermbreedte */
        max-width: 100%; /* Verwijder eventuele limieten */
        margin: 0 auto; /* Centreer de elementen */
        padding: 10px; /* Voeg wat padding toe */
        box-sizing: border-box; /* Houd rekening met padding in de breedte */
        font-size: 1em; /* Zorg voor consistente tekstgrootte */
    }

    .admin-reply textarea {
        width: 100%; /* Zorg ervoor dat de textarea de volledige breedte gebruikt */
        max-width: 100%; /* Verwijder eventuele limieten */
        margin: 0 auto; /* Centreer de textarea */
        padding: 8px; /* Voeg wat padding toe */
        font-size: 0.95em; /* Pas de tekstgrootte aan */
        box-sizing: border-box; /* Houd rekening met padding in de breedte */
    }

    .knoppen button {
        width: 100%; /* Knoppen vullen de breedte */
        max-width: 300px; /* Optionele maximale breedte */
        font-size: 0.9em; /* Kleinere tekstgrootte */
    }

    .registreer {
        width: 90%; /* Zorgt ervoor dat het formulier bijna de volledige breedte gebruikt */
        max-width: 100%; /* Verwijdert eventuele limieten */
        margin: 5; /* Verwijder de marges */
        padding: 20px; /* Voeg wat padding toe voor ruimte binnenin */
        box-sizing: border-box; /* Zorgt ervoor dat padding wordt meegerekend in de breedte */
        border-radius: 15px; /* Verwijder afgeronde hoeken */
    }

}

/* Admin Events Management */
.admin-events-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.admin-section-title {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.admin-section-info {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.admin-events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-event-day {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.admin-event-date {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.admin-event-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #007bff;
}

.admin-event-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.admin-event-content {
    font-weight: 500;
    color: #495057;
}

.admin-event-participants {
    font-size: 0.85rem;
    color: #6c757d;
}

.admin-event-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.admin-edit-btn, .admin-delete-btn {
    padding: 0.375rem 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-edit-btn {
    background: #ffc107;
    color: #212529;
}

.admin-edit-btn:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

.admin-delete-btn {
    background: #dc3545;
    color: white;
}

.admin-delete-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.admin-no-events {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 2rem;
}

/* Responsive design voor admin events */
@media (max-width: 768px) {
    .admin-event-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .admin-event-actions {
        align-self: stretch;
        justify-content: flex-end;
    }
    
    .admin-edit-btn, .admin-delete-btn {
        flex: 1;
        text-align: center;
    }
}

/* Admin Lesson Types Management */
.admin-lesson-types-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #e3f2fd;
    border-radius: 8px;
    border: 2px solid #2196f3;
}

.admin-section-subtitle {
    color: #1976d2;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.admin-section-description {
    color: #424242;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.admin-lesson-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-group-summary {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #bbdefb;
}

.admin-group-summary h4 {
    color: #1976d2;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid #e3f2fd;
    padding-bottom: 0.5rem;
}

.admin-subgroup-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-subgroup-item {
    font-size: 0.85rem;
    color: #555;
    padding: 0.25rem 0;
    border-left: 3px solid #2196f3;
    padding-left: 0.75rem;
}

.admin-instruction {
    background: #fff3e0;
    border: 1px solid #ffb74d;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
}

.admin-instruction p {
    margin: 0;
    color: #e65100;
    font-size: 0.9rem;
}

.admin-instruction strong {
    color: #bf360c;
}

/* Admin quick edit buttons in lesson summary */
.admin-subgroup-item-with-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #2196f3;
}

.admin-quick-edit-btn {
    padding: 0.375rem 0.75rem;
    background: #ffc107;
    color: #212529;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.admin-quick-edit-btn:hover {
    background: #e0a800;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.admin-subgroup-item {
    flex: 1;
    font-size: 0.85rem;
    color: #555;
}

/* Responsive design voor admin lesson management */
@media (max-width: 768px) {
    .admin-lesson-summary {
        grid-template-columns: 1fr;
    }
    
    .admin-lesson-types-section {
        padding: 1rem;
    }
}

/* Enhanced Message Styling voor login notices, code requirements, gesloten berichten */
.login-notice {
    background-color: #fff3cd;
    border: 3px solid #ffc107;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    width: 95%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #856404;
    font-weight: 500;
}

.login-notice.closed {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
    font-weight: 600;
}

.login-notice.code-required {
    background-color: #e2e3e5;
    border-color: #6c757d;
    color: #343a40;
    font-weight: 500;
}

.login-notice.validation-errors {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
    text-align: left;
    font-weight: 500;
}

.login-notice h3 {
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.login-notice.closed h3 {
    color: #721c24;
    font-weight: 700;
}

.login-notice.code-required h3 {
    color: #343a40;
    font-weight: 700;
}

.login-notice.validation-errors h3 {
    color: #721c24;
    font-weight: 700;
}

.login-notice p {
    margin: 0.75rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

.login-notice ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 2rem;
}

.login-notice ul li {
    margin-bottom: 0.5rem;
}

.login-notice a {
    color: #0056b3;
    text-decoration: underline;
    font-weight: 500;
}

.login-notice a:hover {
    color: #004085;
    text-decoration: none;
}

/* Code verification form styling */
.code-verification-section {
    max-width: 1200px;
    width: 95%;
    margin: 30px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.code-verification-form {
    margin-top: 1.5rem;
}

.code-input-group {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.code-input {
    padding: 0.75rem 1rem;
    border: 2px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    width: 200px;
    transition: border-color 0.2s ease;
}

.code-input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.code-verify-btn {
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.code-verify-btn:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.code-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    text-align: center;
    font-weight: 500;
}

/* Enhanced success message styling */
.success-message {
    background-color: #d1e7dd !important;
    border: 2px solid #0f5132 !important;
    color: #0f5132 !important;
    padding: 1.25rem !important;
    border-radius: 8px !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    font-size: 1rem !important;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.1) !important;
}

.success-message p {
    margin: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

/* Mobile responsive voor messages */
@media (max-width: 768px) {
    .login-notice {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .login-notice h3 {
        font-size: 1.1rem;
    }
    
    .code-input-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .code-input {
        width: 100%;
        max-width: 280px;
    }
    
    .code-verify-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* ===== ADMIN INLINE EDIT FORMS ===== */
.admin-edit-inline {
    display: none; /* Hidden by default */
    margin-top: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    border-top: 4px solid #007bff;
    animation: slideDown 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.admin-edit-inline.show {
    display: block; /* Show when .show class is added */
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
}

.admin-edit-inline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.admin-edit-inline-title {
    color: #1e293b;
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
}

.admin-inline-close {
    background: #ef4444;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.admin-inline-close:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.admin-edit-inline-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-inline-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-inline-form-group label {
    color: #374151;
    font-weight: 500;
    font-size: 0.95em;
}

.admin-inline-form-group input[type="number"] {
    padding: 10px 12px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.admin-inline-form-group input[type="number"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.admin-inline-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #374151;
    font-weight: 500;
}

.admin-inline-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

.admin-inline-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.admin-inline-save-btn {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.admin-inline-save-btn:hover {
    background: linear-gradient(45deg, #059669, #047857);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.admin-inline-cancel-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.admin-inline-cancel-btn:hover {
    background: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.4);
}

/* Responsive design for inline forms */
@media (max-width: 480px) {
    .admin-inline-actions {
        flex-direction: column;
    }
    
    .admin-edit-inline {
        padding: 15px;
    }
    
    .admin-edit-inline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ===== LESSON TYPES STYLING ===== */
.lesson-types-container {
    max-width: 1200px;
    width: 95%;
    margin: 30px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.course-selection-container {
    max-width: 1200px;
    width: 95%;
    margin: 30px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.lesson-types-title {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.2em;
    font-weight: bold;
}
.course-selection-title
{
    margin-top: 30px;
    margin-bottom: 15px;
    color: #007bff;
    font-size: 1.3em;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}
.course-selection-info 
{
    text-align: center;
    margin-bottom: 20px;
    color: #6c757d;
    font-size: 1em;
    line-height: 1.5;
}
.lesson-types-info {
    text-align: center;
    margin-bottom: 30px;
    color: #1d4ed8;
    font-size: 1.1em;
    line-height: 1.4;
}

.lesson-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* ===== LESSON GROUP STYLING ===== */
.lesson-group {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.lesson-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.lesson-group-title {
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.6em;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 3px solid #3b82f6;
}

.lesson-subgroups {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ===== LESSON CARD STYLING ===== */
.lesson-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lesson-card:hover {
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.lesson-card.selected {
    border-color: #1d4ed8;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
}

.lesson-card.private-lesson {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.lesson-card.private-lesson:hover {
    border-color: #d97706;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.2);
}

.lesson-card.unavailable {
    opacity: 0.6;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-color: #cbd5e1;
}

/* For admins, make unavailable cards more visible when they contain admin buttons */
.lesson-card.unavailable:has(.admin-edit-btn) {
    opacity: 0.85 !important;
}

.lesson-card.unavailable:hover {
    transform: none;
    box-shadow: none;
}

/* Make admin edit button bright even for unavailable lessons */
.lesson-card.unavailable .admin-edit-btn {
    background: linear-gradient(45deg, #f59e0b, #d97706) !important;
    color: white !important;
    cursor: pointer !important;
    opacity: 1 !important;
    border: none !important;
    font-weight: 600 !important;
}

.lesson-card.unavailable .admin-edit-btn:hover {
    background: linear-gradient(45deg, #d97706, #b45309) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.3) !important;
}

/* Make admin edit inline form bright even for unavailable lessons */
.lesson-card.unavailable .admin-edit-inline {
    opacity: 1 !important;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    border: 2px solid #cbd5e1 !important;
    border-top: 4px solid #007bff !important;
}

.lesson-card.unavailable .admin-edit-inline-header {
    opacity: 1 !important;
}

.lesson-card.unavailable .admin-edit-inline-title {
    color: #1e293b !important;
    font-weight: 600 !important;
}

.lesson-card.unavailable .admin-inline-close {
    background: #ef4444 !important;
    color: white !important;
    opacity: 1 !important;
}

.lesson-card.unavailable .admin-inline-close:hover {
    background: #dc2626 !important;
    transform: scale(1.1) !important;
}

.lesson-card.unavailable .admin-inline-save-btn {
    background: linear-gradient(45deg, #10b981, #059669) !important;
    color: white !important;
    opacity: 1 !important;
    font-weight: 600 !important;
}

.lesson-card.unavailable .admin-inline-save-btn:hover {
    background: linear-gradient(45deg, #059669, #047857) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4) !important;
}

.lesson-card.unavailable .admin-inline-cancel-btn {
    background: #6b7280 !important;
    color: white !important;
    opacity: 1 !important;
    font-weight: 600 !important;
}

.lesson-card.unavailable .admin-inline-cancel-btn:hover {
    background: #4b5563 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.4) !important;
}

.lesson-card.unavailable .admin-inline-form-group label {
    color: #374151 !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

.lesson-card.unavailable .admin-inline-form-group input {
    opacity: 1 !important;
    background: white !important;
    border: 2px solid #d1d5db !important;
    color: #1f2937 !important;
}

.lesson-card.unavailable .admin-inline-checkbox-label {
    color: #374151 !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

/* ===== LESSON CARD HEADER ===== */
.lesson-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.lesson-name {
    color: #1e293b;
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
}

.private-indicator {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

/* ===== LESSON CAPACITY ===== */
.lesson-capacity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f1f5f9;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.capacity-icon {
    font-size: 1.2em;
}

.capacity-text {
    color: #475569;
    font-weight: 500;
}

/* ===== UNAVAILABLE NOTICE ===== */
.unavailable-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #fef2f2;
    border-radius: 8px;
    border-left: 4px solid #ef4444;
}

.unavailable-icon {
    font-size: 1.1em;
}

.unavailable-text {
    color: #dc2626;
    font-weight: 500;
}

/* ===== LESSON ACTIONS ===== */
.lesson-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.select-lesson-btn {
    flex: 1;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 120px;
}

.select-lesson-btn:hover {
    background: linear-gradient(45deg, #2563eb, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.select-lesson-btn.disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.admin-edit-btn {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.admin-edit-btn:hover {
    background: linear-gradient(45deg, #d97706, #b45309);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.3);
}

/* ===== PRICE DISPLAY STYLING ===== */
.price-display {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border: 2px solid #1d4ed8;
    border-radius: 12px;
    margin: 10px 0;
    padding: 15px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.price-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.price-display:hover::before {
    left: 100%;
}

#price_amount {
    font-size: 1.4em;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

#price_amount_main {
    font-size: 1.4em;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Private lesson price styling */
.price-display.private-price {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border-color: #1d4ed8;
    margin-bottom: 10px;
}

/* Enhanced price display styling for main course selection */
#price_display_main {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
    border: 2px solid #1d4ed8 !important;
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 60px !important;
}

#price_display_main.private-price {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
    border-color: #1d4ed8 !important;
    margin-bottom: 10px;
}

/* Admin Begin Datum Management Styling */
.admin-begin-datum-form {
    margin: 15px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.admin-begin-datum-list {
    margin: 15px 0;
}

.begin-datum-items {
    max-height: 300px;
    overflow-y: auto;
}

.begin-datum-item {
    background-color: #fff;
    transition: background-color 0.2s ease;
}

.begin-datum-item:hover {
    background-color: #f8f9fa;
}

.admin-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.admin-btn:hover {
    background-color: #0056b3;
}

.admin-btn-danger {
    background-color: #dc3545;
}

.admin-btn-danger:hover {
    background-color: #c82333;
}

/* Course display form adjustments for begin datum */
.course-selection-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: end;
}

.course-selection-form .form-group {
    flex: 1;
    min-width: 200px;
}

@media (max-width: 768px) {
    .course-selection-form .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .course-selection-form .form-group {
        min-width: auto;
    }
}

/* ===== FORM ALIGNMENT STYLING ===== */
.course-display-select, .course-display-input {
    height: 50px;
    padding: 12px 16px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.course-display-select:focus, .course-display-input:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

/* Make price display same height as select boxes */
.price-display {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-bottom: 0;
}

#price_display_main {
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
    padding: 0 20px !important;
}

/* Ensure form groups align properly */
.course-selection-form .form-group {
    display: flex;
    flex-direction: column;
}

.course-selection-form .form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

/* Align form row elements at bottom */
.course-selection-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-end;
}

/* ====== INSCHRIJVEN STYLES ====== */

/* Excel generation styles */
.excel-table { 
    border-collapse: collapse; 
    width: 100%; 
    font-family: Arial, sans-serif; 
}
.excel-table th, .excel-table td { 
    border: 1px solid #000; 
    padding: 8px; 
    text-align: left; 
    white-space: nowrap; 
}
.excel-table th { 
    background-color: #28a745; 
    color: white; 
    font-weight: bold; 
}
.datetime { 
    mso-number-format: "dd/mm/yyyy hh:mm"; 
}
.payment { 
    background-color: #f8f9fa; 
    font-weight: bold; 
}

/* Admin Start Dates Styling */
.admin-start-dates-section {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.admin-section-title {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 1.2em;
}

.admin-add-start-date {
    color: black;
    margin-bottom: 20px;
}

.admin-add-start-date h4 {
    margin: 0 0 10px 0;
    color: #6c757d;
    font-size: 1em;
}

.add-start-date-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.form-group-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.start-date-input {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    min-width: 120px;
}

.add-date-btn, .view-dates-btn {
    padding: 8px 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.add-date-btn:hover, .view-dates-btn:hover {
    background: #0056b3;
}

.admin-view-dates {
    margin-bottom: 15px;
}

.start-dates-list {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.start-dates-list h4 {
    margin: 0 0 15px 0;
    color: #495057;
}

.no-dates-message {
    color: #6c757d;
    font-style: italic;
    margin: 0;
}

.dates-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.date-display {
    font-weight: 500;
    color: #495057;
}

.time-display {
    font-weight: 500;
    color: #495057;
}

.time-display strong {
    color: #333;
    font-size: 14px;
}

.time-display small {
    color: #6c757d;
    font-size: 12px;
}

/* Available times styling */
.available-times {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.times-list {
    margin-top: 5px;
}

.time-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
}

.remove-date-form {
    margin: 0;
}

.remove-date-btn {
    padding: 4px 8px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s;
}

.remove-date-btn:hover {
    background: #c82333;
}

/* Payment button styling */
.payment-info {
    color: #000;
    margin-top: 10px;
    text-align: center;
}

.payment-info p {
    margin: 5px 0;
    color: #666;
}

.submit-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(0,123,255,0.3);
    width: 100%;
    max-width: 300px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.4);
}

/* Admin edit inline forms styling */
.admin-edit-inline {
    display: none;
    margin-top: 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-top: 4px solid #007bff;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.admin-edit-inline.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-edit-inline-header {
    background: none !important;
    color: #333 !important;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-edit-inline-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.admin-inline-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.admin-inline-close:hover {
    background: rgba(255,255,255,0.2);
}

.admin-edit-inline-form {
    padding: 15px;
}

.admin-inline-form-group {
    margin-bottom: 15px;
}

.admin-inline-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #495057;
}

.admin-inline-form-group input[type="number"] {
    width: 100px;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.admin-inline-checkbox-label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
}

.admin-inline-checkbox-label input[type="checkbox"] {
    margin-right: 8px;
}

.admin-inline-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.admin-save-btn, .admin-cancel-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.admin-save-btn {
    background: #28a745;
    color: white;
}

.admin-save-btn:hover {
    background: #218838;
}

.admin-cancel-btn {
    background: #6c757d;
    color: white;
}

.admin-cancel-btn:hover {
    background: #5a6268;
}

.admin-edit-btn {
    background: linear-gradient(45deg, #f59e0b, #d97706) !important;
    color: white !important;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.2s;
    font-weight: 600;
}

.admin-edit-btn:hover {
    background: linear-gradient(45deg, #d97706, #b45309) !important;
    transform: translateY(-1px);
}

/* Admin places indicator */
.admin-places-indicator {
    color: #007bff;
    font-size: 13px;
    margin-left: 8px;
    font-weight: 500;
}

.private-lesson-indicator {
    background: #ff6b6b;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 8px;
}

.private-lesson-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #333;
    margin: 0 10px;
}

.private-lesson-checkbox input[type="checkbox"] {
    margin: 0;
    transform: scale(1.1);
}

/* Test mode button styling */
.registration-toggle-btn.test-active {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border: 2px solid #ff6b35;
    animation: pulse-test 2s infinite;
}

.registration-toggle-btn.test-active:hover {
    background: linear-gradient(135deg, #ff5722, #ff7043);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255,107,53,0.4);
}

@keyframes pulse-test {
    0% { box-shadow: 0 0 0 0 rgba(255,107,53,0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255,107,53,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,107,53,0); }
}

/* Postcode autocomplete styling */
.form-group {
    position: relative;
}

.postcode-suggestion {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #007bff;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: -2px;
}

.postcode-suggestion-item {
    padding: 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    background: white;
}

.postcode-suggestion-item:hover {
    background: #e3f2fd;
}

.postcode-suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-city {
    font-weight: 600;
    color: #1e40af;
}

.suggestion-postal {
    color: #666;
    font-size: 0.9em;
}

/* ====== RESPONSIVE DESIGN FOR INSCHRIJVEN ====== */

/* Tablet styles (768px to 1024px) */
@media screen and (max-width: 1024px) {
    .admin-start-dates-section {
        padding: 15px;
    }
    
    .dates-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 8px;
    }
    
    .add-start-date-form {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .form-group-inline {
        justify-content: space-between;
    }
    
    .start-date-input {
        flex: 1;
        min-width: 0;
    }
    
    .admin-inline-form-actions {
        justify-content: space-between;
    }
    
    .submit-btn {
        padding: 12px 25px;
        font-size: 15px;
    }
}

/* Mobile styles (max-width: 768px) */
@media screen and (max-width: 768px) {
    .admin-start-dates-section {
        margin-top: 15px;
        padding: 12px;
    }
    
    .admin-section-title {
        font-size: 1.1em;
    }
    
    .dates-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .date-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }
    
    .add-start-date-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-group-inline {
        flex-direction: column;
        gap: 8px;
    }
    
    .start-date-input {
        width: 100%;
    }
    
    .add-date-btn, .view-dates-btn {
        width: 100%;
        padding: 12px;
    }
    
    .admin-edit-inline-form {
        padding: 12px;
    }
    
    .admin-inline-form-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .admin-save-btn, .admin-cancel-btn {
        width: 100%;
        padding: 12px;
    }
    
    .submit-btn {
        padding: 15px;
        width: 100%;
        max-width: none;
    }
    
    .payment-info {
        padding: 0 10px;
    }
    
    .admin-edit-btn {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
        justify-content: center;
    }
    
    .private-lesson-checkbox {
        margin: 10px 0;
        justify-content: center;
    }
    
    .admin-places-indicator {
        display: block;
        margin: 5px 0;
        text-align: center;
    }
    
    .time-slot {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .remove-date-btn {
        align-self: flex-end;
    }
    
    .postcode-suggestion {
        max-height: 150px;
    }
    
    .postcode-suggestion-item {
        padding: 12px;
        font-size: 14px;
    }
    
    /* Excel table responsive */
    .excel-table {
        font-size: 12px;
    }
    
    .excel-table th,
    .excel-table td {
        padding: 6px;
    }
}

/* Small mobile styles (max-width: 480px) */
@media screen and (max-width: 480px) {
    .admin-start-dates-section {
        padding: 10px;
        margin-top: 10px;
    }
    
    .admin-section-title {
        font-size: 1em;
        margin-bottom: 10px;
    }
    
    .start-dates-list {
        padding: 10px;
    }
    
    .date-item {
        padding: 10px;
    }
    
    .admin-edit-inline-header {
        padding: 10px 12px;
    }
    
    .admin-edit-inline-form {
        padding: 10px;
    }
    
    .start-date-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-btn {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .excel-table {
        font-size: 11px;
    }
    
    .excel-table th,
    .excel-table td {
        padding: 4px;
    }
}

/* ====== PAYMENT STYLES ====== */

.payment-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.payment-header {
    text-align: center;
    margin-bottom: 30px;
}

.payment-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.payment-title {
    color: #333;
    margin-bottom: 10px;
}

.payment-subtitle {
    color: #666;
    font-size: 16px;
}

.payment-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.payment-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.payment-detail-row:last-child {
    border-bottom: none;
    font-weight: bold;
    font-size: 18px;
    color: #007bff;
}

.payment-detail-label {
    color: #666;
}

.payment-detail-value {
    color: #333;
    font-weight: 500;
}

.payment-buttons {
    text-align: center;
}

.payment-form {
    display: inline;
}

.payment-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin: 10px;
}

.payment-btn:hover {
    background: #0056b3;
}

.payment-btn.cancel {
    background: #6c757d;
    margin-top: 20px;
}

.payment-btn.cancel:hover {
    background: #545b62;
}

.payment-security {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: #e8f5e8;
    border-radius: 6px;
    color: #155724;
}

.mollie-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

/* ====== RESPONSIVE PAYMENT STYLES ====== */

@media screen and (max-width: 768px) {
    .payment-container {
        margin: 20px auto;
        padding: 20px;
        border-radius: 8px;
    }
    
    .payment-icon {
        font-size: 36px;
    }
    
    .payment-title {
        font-size: 1.5em;
    }
    
    .payment-subtitle {
        font-size: 14px;
    }
    
    .payment-details {
        padding: 15px;
    }
    
    .payment-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 8px 0;
    }
    
    .payment-detail-row:last-child {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        font-size: 16px;
    }
    
    .payment-btn {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%;
        margin: 5px 0;
    }
    
    .mollie-info {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .payment-container {
        margin: 10px;
        padding: 15px;
    }
    
    .payment-header {
        margin-bottom: 20px;
    }
    
    .payment-details {
        padding: 12px;
    }
    
    .payment-security {
        padding: 12px;
        margin-top: 15px;
    }
}

/* ========== CAPACITY CHECK PAGE STYLES ========== */
.capacity-check body { 
    font-family: Arial, sans-serif; 
    margin: 20px; 
}

.capacity-check table { 
    border-collapse: collapse; 
    width: 100%; 
}

.capacity-check th, 
.capacity-check td { 
    border: 1px solid #ddd; 
    padding: 8px; 
    text-align: left; 
}

.capacity-check th { 
    background-color: #f2f2f2; 
}

.capacity-check .full { 
    background-color: #ffcccc; 
}

.capacity-check .available { 
    background-color: #ccffcc; 
}

/* ========== ENHANCED RESPONSIVE DESIGN FOR INSCHRIJVEN MODULE ========== */

/* Form select improvements for lesson selection */
.course-display-select {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    background-color: white;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23333" d="M6 9L2 5h8z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.course-display-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.course-display-select option {
    padding: 10px;
    font-size: 16px;
    line-height: 1.4;
}

/* Price display enhancements for full width */
.price-display {
    margin: 20px 0 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    min-height: 60px !important;
}

#price_display_main {
    margin: 20px 0 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    min-height: 60px !important;
}

/* Lesson selection improvements */
.lesson-selection-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.lesson-card {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    background: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lesson-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.lesson-card.selected {
    border-color: #007bff;
    background: #f8f9ff;
}

.lesson-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.lesson-name {
    margin: 0;
    font-size: 1.1em;
    color: #333;
    font-weight: 600;
}

.select-lesson-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.select-lesson-btn:hover {
    background: #0056b3;
}

.select-lesson-btn.disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Tablet responsive styles (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    /* Inschrijving container adjustments */
    .inschrijving-container {
        width: 95%;
        padding: 25px;
        margin: 20px auto;
    }
    
    .inschrijving-title {
        font-size: 1.6em;
    }
    
    .inschrijving-info {
        font-size: 1em;
        margin-bottom: 20px;
    }
    
    /* Form styling improvements */
    .form-row {
        gap: 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .course-display-select {
        padding: 14px 40px 14px 14px;
        font-size: 16px;
        min-height: 50px;
    }
    
    /* Price display centering - ENHANCED FULL WIDTH */
    .pricing-section {
        text-align: center;
        margin: 25px 0;
        width: 100%;
    }
    
    .price-display {
        text-align: center !important;
        margin: 20px 0 !important;
        max-width: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-height: 60px !important;
        background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
        border: 2px solid #1d4ed8 !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3) !important;
    }
    
    #price_display_main {
        text-align: center !important;
        margin: 20px 0 !important;
        max-width: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-height: 60px !important;
        background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
        border: 2px solid #1d4ed8 !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3) !important;
    }
    
    /* Button improvements */
    .submit-btn {
        padding: 16px 24px;
        font-size: 18px;
        min-height: 50px;
        width: 100%;
        max-width: 400px;
        margin: 25px auto 0;
        display: block;
    }
    
    /* Radio and checkbox improvements */
    .radio-group {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .radio-label {
        min-width: 45%;
        margin-bottom: 8px;
        padding: 12px;
        text-align: center;
    }
    
    /* Lesson selection improvements */
    .lesson-selection-container {
        gap: 12px;
    }
    
    .lesson-card {
        padding: 18px;
        margin: 8px 0;
    }
    
    .lesson-name {
        font-size: 1.1em;
    }
    
    .select-lesson-btn {
        padding: 10px 18px;
        font-size: 15px;
    }
    
    /* Start times styling */
    .start-times-container {
        max-width: 100%;
        overflow-x: auto;
    }
    
    .start-time-option {
        margin: 10px 0;
        padding: 14px;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
}

/* Mobile responsive styles (max-width: 768px) */
@media screen and (max-width: 768px) {
    /* Container adjustments */
    .inschrijving-container {
        width: 98%;
        padding: 15px;
        margin: 10px auto;
        border-radius: 8px;
    }
    
    .inschrijving-title {
        font-size: 1.4em;
        margin-bottom: 8px;
        text-align: center;
    }
    
    .inschrijving-info {
        font-size: 0.9em;
        margin-bottom: 18px;
        text-align: center;
    }
    
    /* Form improvements */
    .form-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-group {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .form-group label {
        margin-bottom: 6px;
        font-size: 14px;
        font-weight: 600;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 14px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 6px;
        box-sizing: border-box;
        border: 2px solid #ddd;
        -webkit-appearance: none; /* Removes default styling on iOS */
        -moz-appearance: none;
        appearance: none;
    }
    
    .form-group select {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23333" d="M6 9L2 5h8z"/></svg>');
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 12px;
        padding-right: 40px;
    }
    
    .course-display-select {
        width: 100%;
        padding: 16px 45px 16px 14px;
        font-size: 16px;
        min-height: 52px;
        border: 2px solid #ddd;
        border-radius: 8px;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    .course-display-select:focus {
        border-color: #007bff;
        box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
    }
    
    /* Price display centering - CRITICAL MOBILE FIX FULL WIDTH */
    .pricing-section {
        text-align: center !important;
        margin: 25px 0 !important;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .price-display {
        text-align: center !important;
        margin: 20px 0 !important;
        padding: 15px 20px !important;
        background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
        border: 2px solid #1d4ed8 !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: none !important;
        min-width: unset !important;
        box-sizing: border-box !important;
        min-height: 60px !important;
    }
    
    #price_display_main {
        text-align: center !important;
        margin: 20px 0 !important;
        padding: 15px 20px !important;
        background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
        border: 2px solid #1d4ed8 !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: none !important;
        min-width: unset !important;
        box-sizing: border-box !important;
        min-height: 60px !important;
    }
    
    .price-amount,
    #price_amount,
    #price_amount_main {
        font-size: 1.3em !important;
        font-weight: bold !important;
        color: #ffffff !important;
        text-align: center !important;
        display: block !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* Button improvements */
    .submit-btn {
        width: 100%;
        padding: 18px 20px;
        font-size: 16px;
        min-height: 52px;
        margin: 25px 0 15px;
        border-radius: 8px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Radio group improvements - FIX BUTTON SPACING */
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-label {
        width: 100%;
        padding: 14px 12px;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 8px;
        border: 2px solid #dee2e6;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 48px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .radio-label:hover {
        background: #e9ecef;
        border-color: #007bff;
    }
    
    .radio-label input[type="radio"]:checked + .radio-button + span {
        font-weight: 600;
        color: #007bff;
    }
    
    .radio-button {
        width: 22px !important;
        height: 22px !important;
        flex-shrink: 0;
    }
    
    /* Checkbox improvements */
    .checkbox-label {
        padding: 14px 12px;
        background: #f8f9fa;
        border-radius: 8px;
        margin: 10px 0;
        border: 2px solid #dee2e6;
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 48px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .checkbox-label input[type="checkbox"] {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
        transform: scale(1) !important;
        flex-shrink: 0;
        cursor: pointer;
    }
    
    /* Lesson selection improvements - FIX TEXT OVERFLOW */
    .lesson-selection-container {
        margin: 20px 0;
        gap: 12px;
    }
    
    .lesson-card {
        border: 2px solid #dee2e6;
        border-radius: 8px;
        padding: 16px;
        background: white;
        margin: 10px 0;
        transition: all 0.3s ease;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .lesson-card:hover {
        border-color: #007bff;
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    }
    
    .lesson-card.selected {
        border-color: #007bff;
        background: #f8f9ff;
    }
    
    .lesson-card-header {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .lesson-name {
        margin: 0;
        font-size: 1em;
        color: #333;
        font-weight: 600;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .select-lesson-btn {
        width: 100%;
        background: #007bff;
        color: white;
        border: none;
        padding: 12px 16px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 14px;
        min-height: 44px;
        transition: background-color 0.3s ease;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .select-lesson-btn:hover {
        background: #0056b3;
    }
    
    .select-lesson-btn.disabled {
        background: #6c757d;
        cursor: not-allowed;
        opacity: 0.6;
    }
    
    /* Start times container */
    .start-times-container {
        margin: 20px 0;
    }
    
    .start-time-option {
        width: 100%;
        margin: 10px 0;
        padding: 14px 12px;
        min-height: 52px;
        display: flex;
        align-items: center;
        border: 2px solid #dee2e6;
        border-radius: 8px;
        background: #f8f9fa;
        gap: 12px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .start-time-option input[type="radio"] {
        margin: 0;
        transform: scale(1.3);
        flex-shrink: 0;
    }
    
    .start-time-label {
        flex: 1;
        font-size: 14px;
        line-height: 1.3;
        color: #333;
    }
    
    /* Conditional fields */
    .conditional-fields {
        margin-top: 15px;
        padding: 15px;
        border-radius: 8px;
        background: #f8f9fa;
    }
    
    /* Form sections */
    .inschrijving-form h3 {
        font-size: 1.2em;
        margin-top: 30px;
        margin-bottom: 15px;
        padding-bottom: 10px;
        text-align: center;
        color: #007bff;
    }
    
    .inschrijving-form h3:first-child {
        margin-top: 0;
    }
}

/* Small mobile responsive styles (max-width: 480px) */
@media screen and (max-width: 480px) {
    /* Extra small screen adjustments */
    .inschrijving-container {
        width: 100%;
        margin: 5px auto;
        padding: 12px;
        border-radius: 6px;
    }
    
    .inschrijving-title {
        font-size: 1.2em;
        line-height: 1.3;
    }
    
    .inschrijving-info {
        font-size: 0.85em;
        line-height: 1.4;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 12px;
        font-size: 16px;
        min-height: 48px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    /* Price display */
    .pricing-section {
        padding: 12px;
        margin: 15px 0;
    }
    
    .price-display {
        padding: 10px;
        margin: 10px auto;
    }
    
    .price-amount {
        font-size: 1.1em;
    }
    
    /* Button adjustments */
    .submit-btn {
        padding: 16px 15px;
        font-size: 16px;
        min-height: 52px;
        margin: 15px 0;
    }
    
    /* Radio and checkbox adjustments */
    .radio-label,
    .checkbox-label {
        padding: 12px;
        font-size: 14px;
    }
    
    /* Lesson selection */
    .lesson-selection select {
        min-height: 52px;
        padding: 14px 35px 14px 12px;
        line-height: 1.2;
    }
    
    /* Start times */
    .start-time-option {
        padding: 14px 12px;
        min-height: 52px;
    }
    
    .start-time-label {
        font-size: 13px;
        line-height: 1.2;
    }
    
    /* Form sections */
    .inschrijving-form h3 {
        font-size: 1em;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    
    /* Postcode suggestions mobile optimization */
    .postcode-suggestion {
        max-height: 150px;
        font-size: 14px;
    }
    
    .postcode-suggestion-item {
        padding: 12px;
        min-height: 44px;
    }
}

/* Payment page specific responsive styles */
@media screen and (max-width: 768px) {
    .payment-container {
        width: 98%;
        margin: 10px auto;
        padding: 15px;
    }
    
    .payment-header {
        padding: 15px;
        text-align: center;
    }
    
    .payment-header h1 {
        font-size: 1.3em;
        margin-bottom: 8px;
    }
    
    .payment-amount {
        font-size: 1.4em;
        margin: 15px 0;
        text-align: center;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 8px;
    }
    
    .payment-details {
        padding: 15px;
        margin: 15px 0;
    }
    
    .payment-details h3 {
        font-size: 1.1em;
        text-align: center;
    }
    
    .payment-details p {
        font-size: 14px;
        margin: 8px 0;
        word-break: break-word;
    }
    
    .payment-buttons {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 20px;
    }
    
    .payment-form {
        display: block;
        margin-bottom: 20px;
    }
    
    .payment-btn {
        width: 100%;
        padding: 16px;
        font-size: 16px;
        min-height: 50px;
        margin: 0;
    }
    
    .payment-btn.cancel {
        margin-top: 0 !important;
    }
}

/* Excel export responsive styles */
@media screen and (max-width: 768px) {
    .excel-export table {
        font-size: 12px;
        width: 100%;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    .excel-export th,
    .excel-export td {
        padding: 6px 4px;
        min-width: 80px;
    }
    
    .excel-export .datetime {
        width: 120px;
    }
}

@media screen and (max-width: 480px) {
    .excel-export table {
        font-size: 10px;
    }
    
    .excel-export th,
    .excel-export td {
        padding: 4px 2px;
        min-width: 60px;
    }
    
    .excel-export .datetime {
        width: 100px;
    }
}

/* Capacity check responsive styles */
@media screen and (max-width: 768px) {
    .capacity-check {
        margin: 10px;
        padding: 15px;
    }
    
    .capacity-check table {
        font-size: 14px;
        width: 100%;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    .capacity-check th,
    .capacity-check td {
        padding: 8px 6px;
        min-width: 100px;
    }
}

@media screen and (max-width: 480px) {
    .capacity-check {
        margin: 5px;
        padding: 10px;
    }
    
    .capacity-check table {
        font-size: 12px;
    }
    
    .capacity-check th,
    .capacity-check td {
        padding: 6px 4px;
        min-width: 80px;
    }
}

/* ===== RESPONSIVE STYLES FOR INSCHRIJVEN ===== */

/* Tablet & Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
    /* Containers responsive maken */
    .inschrijving-container,
    .lesson-types-container,
    .course-selection-container,
    .admin-agenda-container {
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
        margin: 15px auto !important;
        padding: 20px !important;
        box-sizing: border-box;
    }
    
    .inschrijving-form {
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
        margin: 15px auto !important;
        padding: 20px !important;
        box-sizing: border-box;
    }
    
    /* Admin panel responsive */
    .admin-agenda-container {
        padding: 15px !important;
        margin: 15px auto !important;
    }
    
    .admin-agenda-title {
        font-size: 1.5em;
    }
    
    .registration-toggle-btn {
        font-size: 14px;
        padding: 12px 15px;
        white-space: normal;
        line-height: 1.4;
    }
    
    .admin-export-section {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .admin-export-section form {
        margin-left: 0 !important;
        width: 100%;
    }
    
    .export-btn {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 16px;
    }
    
    /* Code verification responsive */
    .code-verification-section {
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
        margin: 15px auto !important;
        padding: 20px !important;
        box-sizing: border-box;
    }
    
    .code-input-group {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 10px !important;
        box-sizing: border-box;
    }
    
    .code-input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        font-size: 16px !important;
        padding: 12px !important;
    }
    
    .code-verify-btn,
    .verify-btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 14px !important;
        font-size: 16px !important;
    }
    
    /* Messages and notices */
    .login-notice,
    .success-message,
    .error-message {
        width: calc(100% - 30px);
        margin: 15px;
        padding: 20px;
    }
    
    /* Lesson types responsive */
    .lesson-types-container {
        margin: 15px;
        padding: 15px;
    }
    
    .lesson-types-title {
        font-size: 1.6em;
    }
    
    .lesson-types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .lesson-group {
        padding: 20px;
    }
    
    .lesson-group-title {
        font-size: 1.4em;
    }
    
    .lesson-subgroup-btn {
        font-size: 15px;
        padding: 12px 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Course selection responsive */
    .course-selection-container {
        padding: 15px;
        margin: 15px;
    }
    
    .course-selection-title {
        font-size: 1.2em;
    }
    
    .course-selection-info {
        font-size: 0.95em;
    }
    
    /* Form responsive */
    .form-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .form-group {
        min-width: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px !important;
        box-sizing: border-box;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        font-size: 16px !important; /* Voorkomt iOS zoom */
    }
    
    .course-display-select,
    .course-display-input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        font-size: 14px !important;
        padding: 14px 12px !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        overflow: visible !important;
        min-height: 52px !important;
        height: auto !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }
    
    .course-display-input {
        display: block !important;
    }
    
    .course-display-select {
        padding: 12px 30px 12px 12px !important;
        text-align: center !important;
        text-align-last: center !important;
    }
    
    .course-display-input::placeholder {
        font-size: 13px;
        white-space: normal;
        line-height: 1.5;
        text-align: center;
        opacity: 0.7;
    }
    
    /* Specifiek voor selected_lesson_display */
    #selected_lesson_display {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 13px !important;
        line-height: 1.3 !important;
        min-height: 54px !important;
        height: auto !important;
        white-space: pre-wrap !important;
        word-break: break-word !important;
        overflow: visible !important;
        text-align: center !important;
        display: block !important;
    }
    
    #selected_lesson_display::placeholder {
        font-size: 12px !important;
        line-height: 1.3 !important;
        white-space: pre-wrap !important;
        text-align: center !important;
    }
    
    /* Price display */
    #price_display_main,
    .price-display {
        font-size: 1.3em;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 12px !important;
    }
    
    /* Registration form */
    .inschrijving-form {
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
        margin: 15px auto !important;
        padding: 20px !important;
        box-sizing: border-box;
    }
    
    .registration-form {
        padding: 15px !important;
        margin: 15px auto !important;
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .registration-form h2 {
        font-size: 1.4em;
    }
    
    .registration-form .form-section {
        padding: 15px !important;
        margin-bottom: 15px;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .registration-form .form-section h3 {
        font-size: 1.2em;
    }
    
    .registration-form input,
    .registration-form select,
    .registration-form textarea {
        font-size: 16px !important; /* Prevents iOS zoom */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 12px !important;
    }
    
    /* Code verification responsive */
    .code-verification-section {
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
        margin: 15px auto !important;
        padding: 20px !important;
        box-sizing: border-box;
    }
    
    .code-input-group {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 10px !important;
        box-sizing: border-box;
    }
    
    .code-input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        font-size: 16px !important;
        padding: 12px !important;
    }
    
    .code-verify-btn,
    .verify-btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 14px !important;
        font-size: 16px !important;
    }
    
    .registration-form input,
    .registration-form select,
    .registration-form textarea {
        font-size: 16px; /* Prevents iOS zoom */
    }
    
    /* Submit button */
    .submit-btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        font-size: 18px !important;
        box-sizing: border-box;
    }
    
    /* Export buttons responsive */
    .export-btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 12px !important;
    }
    
    /* Privacy checkbox */
    .privacy-checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Checkbox styling voor mobiel */
    .checkbox-label input[type="checkbox"] {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        border: 2px solid #cbd5e1;
        border-radius: 4px;
        background-color: white;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .checkbox-label input[type="checkbox"]:checked {
        background-color: #007bff;
        border-color: #007bff;
    }
    
    .checkbox-label input[type="checkbox"]:checked::after {
        content: '✓';
        position: absolute;
        color: white;
        font-size: 16px;
        font-weight: bold;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    /* Radio groups responsive */
    .radio-group {
        flex-direction: column;
        gap: 10px !important;
        width: 100% !important;
    }
    
    .radio-label {
        width: 100% !important;
        margin-bottom: 8px;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    .radio-button {
        flex-shrink: 0 !important;
        margin-right: 10px !important;
    }
    
    /* Messages */
    .login-notice,
    .success-message,
    .error-message {
        margin: 15px;
        padding: 15px;
        font-size: 14px;
    }
}

/* Small Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
    /* Alle containers voor small mobile */
    .inschrijving-container,
    .lesson-types-container,
    .course-selection-container,
    .admin-agenda-container,
    .inschrijving-form,
    .registration-form {
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        margin: 10px auto !important;
        padding: 12px !important;
        box-sizing: border-box;
        border-radius: 8px;
    }
    
    /* Admin panel small mobile */
    .admin-agenda-container {
        padding: 10px !important;
        margin: 10px auto !important;
        border-radius: 8px;
    }
    
    .admin-agenda-title {
        font-size: 1.3em;
    }
    
    .registration-toggle-btn {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    /* Lesson types small mobile */
    .lesson-types-container {
        margin: 10px;
        padding: 10px;
        border-radius: 8px;
    }
    
    .lesson-types-title {
        font-size: 1.4em;
        margin-bottom: 8px;
    }
    
    .lesson-types-info {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    
    .lesson-types-grid {
        gap: 15px;
    }
    
    .lesson-group {
        padding: 15px;
    }
    
    .lesson-group-title {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    
    .lesson-subgroup-btn {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    /* Course selection small mobile */
    .course-selection-container {
        padding: 10px;
        margin: 10px;
        border-radius: 8px;
    }
    
    .course-selection-title {
        font-size: 1.1em;
        margin-top: 20px;
    }
    
    .course-selection-info {
        font-size: 0.9em;
    }
    
    /* Form small mobile */
    .form-group label {
        font-size: 13px;
    }
    
    .course-display-select,
    .course-display-input,
    .price-display {
        min-height: 48px !important;
        height: auto !important;
        font-size: 13px !important;
        padding: 12px 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        overflow: visible !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }
    
    .course-display-input {
        display: block !important;
    }
    
    .course-display-select {
        padding: 10px 25px 10px 10px !important;
        text-align: center !important;
        text-align-last: center !important;
    }
    
    .course-display-input::placeholder {
        font-size: 12px;
        white-space: normal;
        line-height: 1.5;
        text-align: center;
        opacity: 0.7;
    }
    
    /* Specifiek voor selected_lesson_display small mobile */
    #selected_lesson_display {
        padding-top: 13px !important;
        padding-bottom: 13px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        min-height: 50px !important;
        height: auto !important;
        white-space: pre-wrap !important;
        word-break: break-word !important;
        overflow: visible !important;
        text-align: center !important;
        display: block !important;
    }
    
    #selected_lesson_display::placeholder {
        font-size: 11px !important;
        line-height: 1.3 !important;
        white-space: pre-wrap !important;
        text-align: center !important;
    }
    
    .price-display,
    #price_display_main {
        height: 45px !important;
        font-size: 1.1em !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Registration form small mobile */
    .inschrijving-form {
        width: calc(100% - 20px);
        margin: 10px;
        padding: 15px;
        border-radius: 8px;
    }
    
    .inschrijving-form h3 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .registration-form {
        padding: 10px;
        margin: 10px;
        border-radius: 8px;
    }
    
    .registration-form h2 {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    
    .registration-form .form-section {
        padding: 12px !important;
        margin-bottom: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .conditional-fields {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px !important;
        box-sizing: border-box;
    }
    
    .checkbox-group {
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .registration-form .form-section h3 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .form-group {
        margin-bottom: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 5px;
        display: block;
        width: 100%;
    }
    
    .registration-form input,
    .registration-form select,
    .registration-form textarea {
        height: 45px !important;
        font-size: 16px !important;
        padding: 10px 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .registration-form textarea {
        height: auto !important;
        min-height: 80px !important;
    }
    
    /* Submit button */
    .submit-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
    
    /* Code verification small mobile */
    .code-verification-section {
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        margin: 10px auto !important;
        padding: 15px !important;
        box-sizing: border-box;
    }
    
    .code-input,
    .code-verify-btn,
    .verify-btn {
        height: 45px !important;
        font-size: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 10px 12px !important;
    }
    
    /* Messages small mobile */
    .login-notice,
    .success-message,
    .error-message {
        margin: 10px;
        padding: 12px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    .login-notice h3 {
        font-size: 1.1em;
        margin-bottom: 8px;
    }
    
    /* Code verification small mobile */
    .code-verification-section {
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        margin: 10px auto !important;
        padding: 15px !important;
        box-sizing: border-box;
    }
    
    .code-input-group input {
        height: 45px !important;
        font-size: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 10px 12px !important;
    }
    
    .verify-btn,
    .code-verify-btn {
        height: 45px !important;
        font-size: 16px !important;
        padding: 0 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
}

/* Extra small devices (max-width: 360px) */
@media screen and (max-width: 360px) {
    .lesson-types-container,
    .course-selection-container,
    .admin-agenda-container,
    .inschrijving-form,
    .inschrijving-container,
    .registration-form,
    .code-verification-section {
        width: calc(100% - 16px) !important;
        max-width: 100% !important;
        margin: 8px auto !important;
        padding: 10px !important;
        box-sizing: border-box;
    }
    
    .lesson-types-title {
        font-size: 1.2em;
    }
    
    .course-selection-title {
        font-size: 1em;
    }
    
    .registration-form h2 {
        font-size: 1.1em;
    }
    
    .lesson-subgroup-btn {
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .registration-toggle-btn {
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .postcode-suggestion-item {
        padding: 8px;
        font-size: 14px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .postcode-suggestion {
        width: calc(100% - 4px) !important;
        max-width: 100% !important;
    }
}

/* Additional mobile fixes for all screen sizes */
@media screen and (max-width: 768px) {
    .lesson-types-container,
    .course-selection-container,
    .admin-agenda-container,
    .inschrijving-form,
    .inschrijving-container {
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
        margin: 15px auto !important;
        padding: 15px !important;
        box-sizing: border-box;
    }
    
    .registration-form {
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
        margin: 15px auto !important;
        padding: 15px !important;
        box-sizing: border-box;
    }
    
    /* Form row moet verticaal op mobile */
    .form-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    /* Fix voor form inputs op mobile */
    .form-group {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px !important;
        box-sizing: border-box;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px !important; /* Voorkomt zoom op iOS */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
        padding: 12px !important;
    }
    
    /* Postcode suggestions responsive */
    .postcode-suggestion {
        max-height: 150px;
        font-size: 14px;
        width: calc(100% - 4px) !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .postcode-suggestion-item {
        padding: 10px 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        width: 100% !important;
        box-sizing: border-box;
    }
}


