.cta-btn {
    display: inline-block;
    background: #117865;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: .25s
}

.cta-btn:hover:not(:disabled) {
    background: #0e5c4d;
    color: #fff;
    text-decoration: none
}

.cta-btn:disabled {
    background-color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Stijlen voor Kalender & Legenda */
.calendar-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 1.5rem;
    font-size: 0.9em;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-color-box {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 4px;
}

#calendar {
    min-height: 550px;
    cursor: default;
}

/* Alleen beschikbare dagen voor dit profiel - Helder groen */
.fc-day.available-day,
.fc-daygrid-day.available-day,
td.fc-day.available-day,
.fc-daygrid-day-frame.available-day {
    background-color: #28a745 !important;
    color: white !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    pointer-events: auto !important;
}

.fc-day.available-day:hover,
.fc-daygrid-day.available-day:hover,
td.fc-day.available-day:hover {
    background-color: #218838 !important;
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}

/* Niet-beschikbare dagen voor dit profiel - Neutraal grijs */
.fc-day.unavailable-day {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Optie dagen - Oranje */
.fc-day.option-day {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    cursor: default;
    position: relative;
}

.fc-day.option-day::after {
    content: "⏳";
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 14px;
    z-index: 10;
}

.fc-day.option-day:hover {
    background-color: #ffe69c;
}

/* Definitief geboekte dagen - Rood */
.fc-day.confirmed-day {
    background-color: #f8d7da;
    border: 2px solid #dc3545;
    cursor: default;
    position: relative;
}

.fc-day.confirmed-day::after {
    content: "✅";
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 14px;
    z-index: 10;
}

.fc-day.confirmed-day:hover {
    background-color: #f5c2c7;
}

/* Booking events in kalender */
.booking-option-event,
.booking-confirmed-event {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 3px;
    cursor: pointer;
}

.booking-option-event .fc-event-title {
    font-size: 10px;
    line-height: 1.2;
}

.booking-confirmed-event .fc-event-title {
    font-size: 10px;
    line-height: 1.2;
}

/* Maak booking events klikbaar voor ICS download */
.fc-event.booking-option-event,
.fc-event.booking-confirmed-event {
    pointer-events: auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fc-event.booking-option-event:hover,
.fc-event.booking-confirmed-event:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.legend-available {
    background-color: #28a745;
    border: 1px solid #1e7e34;
}

.legend-unavailable {
    background-color: #f8f9fa;
    border: 1px solid #6c757d;
}

.legend-option {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
}

.legend-confirmed {
    background-color: #f8d7da;
    border: 1px solid #dc3545;
}

.fc-event.selected-event {
    background-color: #ff9800 !important;
    border-color: #f57c00 !important;
    opacity: 0.8;
}

.fc-day.available-day.has-selected-event {
    background-color: #ff9800 !important;
    border: 2px solid #f57c00 !important;
    position: relative;
    color: white !important;
    font-weight: 600;
}

.fc-day.available-day.has-selected-event::after {
    content: "🎯";
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 12px;
    z-index: 10;
    color: white;
}

.legend-selected {
    background-color: #ff9800;
    border: 1px solid #f57c00;
}

.fc-daygrid-day.fc-day-today {
    background-color: rgba(17, 120, 101, 0.1);
}

.legend-today {
    background-color: #fff;
    border: 2px dotted rgba(17, 120, 101, 0.5);
}

/* Quick Date Options Styling */
.quick-date-option:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.5) !important;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e9 100%) !important;
    border-color: #28a745 !important;
}

.quick-date-option.selected {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%) !important;
    border-color: #e65100 !important;
    color: white;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.5) !important;
}

.quick-date-option.selected div {
    color: white !important;
}

/* Overige stijlen */
#selection-container {
    margin-top: 1.5rem;
    text-align: center;
}

#selected-dates-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

#selected-dates-list li {
    background-color: #fff3e0;
    color: #e65100;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    border: 2px solid #ff9800;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.2);
    transition: all 0.3s ease;
}

#selected-dates-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);
}

.selection-number {
    background-color: #ff9800;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: bold;
    flex-shrink: 0;
}

.selection-date {
    flex-grow: 1;
    text-align: left;
}

.remove-date-btn {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.remove-date-btn:hover {
    background-color: #d32f2f;
    transform: scale(1.1);
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.fc-day.available-day:hover {
    background-color: #218838 !important;
    animation: pulse 0.6s ease-in-out;
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}

/* Verbeterde formulier styling */
#contact-form .form-group {
    margin-bottom: 1.5rem;
}

#contact-form .form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

#contact-form .form-group label small {
    font-weight: 400;
    color: #6c757d;
    font-size: 0.85rem;
}

#contact-form .form-control {
    border-radius: 8px;
    border: 2px solid #dee2e6;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

#contact-form .form-control:hover {
    border-color: #adb5bd;
}

#contact-form .form-control:focus {
    border-color: #117865;
    box-shadow: 0 0 0 0.2rem rgba(17, 120, 101, 0.15);
    transform: translateY(-1px);
    outline: none;
}

#contact-form .form-control:valid:not(:placeholder-shown) {
    border-color: #28a745;
    background-color: #f8fff9;
}

#contact-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding: 14px 45px 14px 16px;
    cursor: pointer;
    height: 50px;
    line-height: 1.5;
}

#contact-form select.form-control option {
    padding: 12px;
    font-size: 1rem;
}

#contact-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

#contact-form .row {
    margin-left: -8px;
    margin-right: -8px;
}

#contact-form .row>[class*='col-'] {
    padding-left: 8px;
    padding-right: 8px;
}

/* Submit button styling */
#submit-button {
    margin-top: 1rem;
    padding: 14px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(17, 120, 101, 0.2);
}

#submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(17, 120, 101, 0.3);
}

#submit-button:active:not(:disabled) {
    transform: translateY(0);
}

#submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#contact-form select.form-control {
    cursor: pointer;
}

#submit-button.btn-lg {
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(17, 120, 101, 0.3);
    transition: all 0.3s ease;
}

#submit-button.btn-lg:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 120, 101, 0.4);
}

/* URL Parameter info box */
.url-params-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.url-params-info.show {
    display: block;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes dateSelected {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.15) rotate(2deg);
    }

    50% {
        transform: scale(1.1) rotate(-2deg);
    }

    75% {
        transform: scale(1.15) rotate(1deg);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(45deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(45deg);
        opacity: 1;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(255, 152, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 152, 0, 0.8), 0 0 30px rgba(255, 152, 0, 0.6);
    }
}

/* Quick booking links */
.quick-booking-links {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.quick-booking-links .btn-outline-primary {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-booking-links .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #117865;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Trainer highlights styling */
.trainer-highlights {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trainer-highlights h6 {
    color: white;
    margin-bottom: 8px;
}

.trainer-highlights .small {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.trainer-highlights .fas {
    margin-right: 8px;
}

.form-feedback {
    display: none;
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 6px;
    text-align: center;
}

.form-feedback.success {
    background-color: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}

.form-feedback.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.form-selection-info {
    display: none;
    padding: 1rem;
    margin-top: 1rem;
    border-left: 5px solid #117865;
    background-color: #f0f8f6;
    border-radius: 4px;
    color: #333;
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {

    /* Container padding voor mobiel */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Sticky selected dates header op mobiel */
    #selection-container.sticky-mobile {
        position: sticky;
        top: 0;
        z-index: 999;
        background: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        margin-bottom: 20px;
        animation: slideDown 0.3s ease-out;
    }

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

    /* Groene beschikbare datums sectie */
    #next-available-dates {
        padding: 15px !important;
        margin-bottom: 20px !important;
        /* Swipe indicator */
        position: relative;
        overflow: hidden;
    }

    #next-available-dates::before {
        content: '👈 Swipe 👉';
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 11px;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 600;
        animation: pulseSwipe 2s infinite;
    }

    @keyframes pulseSwipe {
        0%, 100% { opacity: 0.5; }
        50% { opacity: 1; }
    }

    #next-available-dates h5 {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }

    #next-available-dates p {
        font-size: 13px !important;
        margin-bottom: 15px !important;
    }

    /* Datum kaartjes - TOUCH-FRIENDLY: grotere tap targets */
    .quick-date-option {
        min-width: 180px !important;
        padding: 18px 20px !important;
        margin: 8px !important;
        /* Touch feedback */
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        -webkit-user-select: none;
        user-select: none;
    }

    .quick-date-option:active {
        transform: scale(0.95) !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    }

    .quick-date-option.selected {
        animation: selectPulse 0.4s ease-out;
    }

    @keyframes selectPulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.08); }
        100% { transform: scale(1); }
    }

    .quick-date-option>div:first-child {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }

    .quick-date-option>div:nth-child(2) {
        font-size: 15px !important;
    }

    .quick-date-option>div:nth-child(3) {
        font-size: 13px !important;
    }

    /* Navigatie knoppen - verbergen op mobiel (swipe gestures actief) */
    #dates-navigation {
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 15px !important;
    }

    #prev-dates-btn,
    #next-dates-btn {
        display: none !important; /* Vervangen door swipe */
    }

    #dates-counter {
        order: -1;
        font-size: 14px !important;
        padding: 8px 16px !important;
        background: rgba(255,255,255,0.3);
        border-radius: 20px;
        width: 100%;
        text-align: center;
    }

    /* Geselecteerde datums sectie */
    #selection-display {
        padding: 15px !important;
        margin-bottom: 15px !important;
    }

    #selection-title {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    #selected-dates-list li {
        font-size: 14px !important;
        padding: 8px 10px !important;
        margin-bottom: 8px !important;
    }

    #reserve-button {
        font-size: 16px !important;
        padding: 16px 24px !important;
        width: 100%;
        position: relative;
        overflow: hidden;
        -webkit-tap-highlight-color: transparent;
    }

    #reserve-button::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    #reserve-button:active::after {
        width: 300px;
        height: 300px;
    }

    /* Contact opties kaarten */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Formulier velden */
    .form-group label {
        font-size: 14px;
    }

    .form-control {
        font-size: 14px;
        padding: 10px;
    }

    textarea.form-control {
        min-height: 150px;
    }

    .cta-btn {
        font-size: 14px !important;
        padding: 12px 24px !important;
        width: 100%;
    }

    /* Calendar kleiner maken op mobiel */
    .fc {
        font-size: 12px;
    }

    .fc-toolbar-title {
        font-size: 16px !important;
    }

    .fc-button {
        padding: 4px 8px !important;
        font-size: 12px !important;
    }

    .fc-daygrid-day-number {
        font-size: 12px;
        padding: 2px;
    }

    /* Contact formulier sectie */
    #contact-form-section {
        padding: 20px !important;
    }

    #contact-form-section h3 {
        font-size: 18px !important;
    }

    #form-selection-info-top {
        padding: 12px !important;
    }

    /* Profiel indicator */
    #profile-indicator {
        font-size: 13px;
        padding: 10px !important;
    }

    /* Calendar legend */
    .calendar-legend {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .legend-item {
        font-size: 12px !important;
        width: 100% !important;
    }
}

/* Extra kleine mobiele telefoons */
@media (max-width: 480px) {
    #next-available-dates {
        padding: 12px !important;
    }

    #next-available-dates h5 {
        font-size: 16px !important;
    }

    .quick-date-option {
        min-width: 140px !important;
        padding: 10px 12px !important;
    }

    .quick-date-option>div:first-child {
        font-size: 12px !important;
    }

    .quick-date-option>div:nth-child(2) {
        font-size: 14px !important;
    }

    .quick-date-option>div:nth-child(3) {
        font-size: 12px !important;
    }

    #reserve-button {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }

    .cta-btn {
        font-size: 13px !important;
        padding: 10px 20px !important;
    }
}

/* Tablet landscape optimalisatie */
@media (min-width: 769px) and (max-width: 1024px) {
    .quick-date-option {
        min-width: 200px !important;
    }

    #next-dates-list {
        gap: 12px !important;
    }
}