/* =======================================
   GLOBAL FONT & RESET
======================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Oswald', sans-serif;
    background: #FFFFFF;
    color: #000000;
    overflow-x: hidden;
    padding-top: 80px;
    /* ruimte voor fixed header, desktop + mobiel */
}

/* MOBILE FIX */
@media (max-width: 992px) {
    body {
        padding-top: 95px;
        /* header is hoger op mobile */
    }
}

/* =======================================
   GLOBAL UTILITIES
======================================= */

.text-main {
    color: #F5054F !important;
}

.bg-main {
    background-color: #F5054F !important;
}

.btn-main {
    display: inline-block;
    padding: 12px 28px;
    background: #000000;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    transition: 0.3s ease;
}


.btn-main.user-delete-btn {
    font-family: 'Oswald', sans-serif;

    display: inline-block;
    padding: 12px 28px;
    background: #F5054F;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    transition: 0.3s ease;
}

.btn-main.user-delete-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    color: #000000;
}

.btn-main:hover {
    background: #F5054F;
    transform: translateY(-2px);
    color: #000000;
}

.btn-outline,
.btn-main-outline {
    padding: 12px 28px;
    border: 2px solid #000000;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    background: black;
}

.btn-outline:hover,
.btn-main-outline:hover {
    background: #F5054F;
    color: #fff;
    transition: 0.3s ease;
}


/* =======================================
   HEADER / NAVBAR (DESKTOP)
======================================= */
.main-header {
    width: 100%;
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 80px;
    /* desktop height */
    display: flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

@media (max-width: 992px) {
    .main-header {
        height: 95px;
        /* mobile header height */
    }
}



.nav-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 25px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #F5054F;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
}

/* Desktop nav rechts */
.nav-right {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-right li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    transition: 0.25s ease;
    text-transform: uppercase;
}

.nav-right li a:hover {
    color: #F5054F;
}

/* Login / Logout */
.login-btn,
.logout-btn {
    color: #F5054F;
    font-weight: 600;
    text-transform: uppercase;
}

.login-btn:hover,
.logout-btn:hover {
    color: #fff;
}

/* =======================================
   MOBILE NAV TOGGLE (HAMBURGER)
======================================= */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: #F5054F;
    border-radius: 3px;
    transition: 0.3s ease;
}

/* Hamburger → X */
.nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =======================================
   MOBILE MENU — FIXED + CORRECT HEIGHT
======================================= */

@media (max-width: 992px) {

    /* toggle zichtbaar & netjes gecentreerd in header */
    .nav-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10000;
    }


    /* dropdown-menu onder header */
    .nav-right {
        position: fixed;
        top: 95px;
        /* direct onder header */
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0 30px;
        padding-left: 25px;
        /* marge links */
        gap: 25px;
        display: none;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

    .nav-right.nav-open {
        display: flex;
        animation: menuFade 0.25s ease-out forwards;
    }

    .nav-right li a {
        font-size: 1.35rem;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        text-align: left;
        width: 100%;
        display: block;
    }
}

/* Fade animatie */
@keyframes menuFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =======================================
   HERO SECTION (index)
======================================= */

/* Desktop & algemene layout */
.hero {
    height: 100vh;
    /* standaard desktop */
    position: relative;
}

/* Donkere overlay */
.hero .overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.45);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Hero text */
.hero h1 {
    font-size: 3.8rem;
    font-weight: 600;
    color: #fff;
    
}

.hero p {
    color: #fff;
    font-size: 1.4rem;
}

/* Nieuwe hero-section wrapper */
.hero-section {
    position: relative;
}

/* Overlay voor hero-section (foto met extra donker effect) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}


/* =======================================
   MOBILE FIX — voorkomt oversized hero
======================================= */
@media (max-width: 992px) {
    .hero {
        height: 100svh;
        /* iOS/Android echte schermhoogte zonder browser UI */
    }
}


/* =======================================
   TRAINING CARDS
   ======================================= */

.training-card {
    border-radius: 12px;
    transition: 0.3s ease;
}

.training-card:hover {
    transform: translateY(-5px);
}

/* =======================================
   FORMS (register & login)
   ======================================= */

.form-container {
    max-width: 480px;
    background: #fff;
    margin: 40px auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.form-container h2 {
    text-align: center;
    color: #F5054F;
    margin-bottom: 20px;
}

.form-container input,
.form-container select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 18px;
}

.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.alert.error {
    background: #ffe5e8;
    color: #C9162B;
}

.alert.success {
    background: #e8ffe9;
    color: #1c9b3b;
}

/* =======================================
   FOOTER — SPORTCITY STYLE (REMAKE)
======================================= */

.site-footer {
    background: #000;
    padding: 60px 0 30px;
    color: #fff;
}

/* INTRO BLOCK */
.footer-top {
    text-align: center;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 2.4rem;
    font-weight: 700;
    color: #F5054F;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer-top p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

.footer-col ul li a {
    font-size: 1.3rem;
}



/* GRID LAYOUT (DESKTOP) */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    gap: 70px;
    text-align: left;
}

/* TITLES */
.footer-title {
    font-size: 1.3rem;
    color: #F5054F;
    margin-bottom: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

/* LIST */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin: 10px 0;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    transition: 0.25s ease;
}

.footer-col a:hover {
    color: #F5054F;
}

/* -----------------------------------
   MOBILE ACCORDION BEHAVIOR
------------------------------------ */
.footer-toggle {
    display: none;
}


/* Mobile */
@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 22px;
    }

    .footer-title {
        display: none;
    }

    .footer-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        background: none;
        border: none;
        padding: 14px 0;
        color: #F5054F;
        font-size: 1.25rem;
        font-weight: 600;
        cursor: pointer;
        text-transform: uppercase;
    }

    .toggle-icon {
        font-size: 1.7rem;
        font-weight: bold;
        transition: 0.3s;
    }

    /* Default collapsed */
    .footer-col ul {
        display: none;
        padding-left: 10px;
        margin-top: 10px;
    }

    /* Expanded */
    .footer-col.open ul {
        display: block;
    }

    /* Rotate + to – */
    .footer-toggle.open .toggle-icon {
        transform: rotate(0deg);
        /* geen draaiing */
        content: "-";
        /* toon een min */
    }


}

/* BOTTOM COPYRIGHT */
.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid #222;
    color: #ccc;
    font-size: 0.95rem;
}


/* =======================================
   FOOTER FONT FIX — MOBILE ONLY
======================================= */
@media (max-width: 992px) {

    footer,
    footer * {
        font-family: 'Oswald', sans-serif !important;
    }
}

/* =======================================
POPUP (lessen/agenda)
======================================= */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-box {
    background: #fff;
    padding: 25px;
    width: 90%;
    max-width: 480px;
    border-radius: 12px;
}


/* ===============================
   CONTACT PAGE STYLING
================================ */

.page-wrapper {
    padding-top: 40px;
    /* afstand van nav */
}

/* Title section */
.section-title {
    padding: 50px 0 20px;
    background: #fff;
    text-align: left;
}

.page-heading {
    font-size: 3rem;
    font-weight: 600;
    color: #F5054F;
}

.page-subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #333;
    text-align: center !important;
    width: 100%;
    display: block;
    margin: 0 auto 20px auto;
}

/* Centreer subtitle op telefoon */
@media (max-width: 600px) {
    .page-subtitle {
        text-align: center !important;
        width: 100%;
        display: block;
        margin: 0 auto 20px auto;
    }
}

/* Contact card */
.contact-block {
    padding: 40px 0;
}

.contact-card {
    background: #000;
    color: #fff;
    padding: 35px;
    border-radius: 18px;
    max-width: 550px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.contact-card a {
    color: #F5054F;
    text-decoration: none;
}

.contact-card a:hover {
    color: #fff;
}

/* CTA / advertentie */
.cta-section {
    margin-top: 40px;
    margin-bottom: 50px;
}

.cta-box {
    background: #F5054F;
    color: #fff;
    padding: 40px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* ================================
   REGISTRATIE – CHOOSE ROLE CARD
   ================================ */

.register-choice-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    padding-top: 40px;
}

.register-choice-card {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-top: 6px solid #F5054F;
}

.register-choice-card h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #F5054F;
}

.choice-btn {
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 18px;
    transition: 0.3s ease;
    border: 2px solid #F5054F;
}

.choice-btn.particulier {
    background: #fff;
    color: #F5054F;
}

.choice-btn.particulier:hover {
    background: #F5054F;
    color: #fff;
}

.choice-btn.sportschool {
    background: #F5054F;
    color: #fff;
}

.choice-btn.sportschool:hover {
    background: #c00440;
    border-color: #c00440;
}

/* Fade-in animatie */
.fade-in {
    animation: fadeIn 0.35s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =======================================
   REGISTRATIE – MULTI FORM CARD
   ======================================= */

.register-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 60px;
}

.register-card {
    width: 100%;
    max-width: 550px;
    padding: 40px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.register-card h2 {
    text-align: center;
    color: #F5054F;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Switch buttons */
.switch-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.switch-btn {
    flex: 1;
    padding: 12px;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 2px solid #F5054F;
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 600;
}

.switch-btn.active {
    background: #F5054F;
    color: #fff;
}

/* Formulier */
.regForm label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.regForm input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    font-size: 1rem;
}

.login-link {
    color: #F5054F;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

.login-link:hover {
    color: #000;
}

/* Mobile stacking */
@media (max-width: 480px) {
    .register-card .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}


/* Password field */
.password-field {
    position: relative;
}

.password-field input {
    padding-right: 40px;
}

.pw-toggle {
    position: absolute;
    right: 12px;
    top: 12px;
    cursor: pointer;
    color: #555;
    font-size: 1.2rem;
}

.pw-toggle:hover {
    color: #F5054F;
}

/* Hide 2nd form */
.hidden {
    display: none;
}

@media (max-width: 480px) {
    .register-card .d-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* =====================================================
   TRAINING DETAIL PAGINA (SPINNING, PUMP, PT)
   PREMIUM FITNESS STYLING
===================================================== */

/* ------------------------------
   ALGEMENE SECTIE WRAPPER
------------------------------ */
.training-detail-section {
    padding-top: 60px;
    padding-bottom: 110px;
    background: #f8f8f8;
}

/* ------------------------------
   HERO BOX
------------------------------ */
.training-hero {
    background: #fff;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
    margin-bottom: 45px;
    color: #000;
}

.training-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
}

.training-highlight {
    display: inline-block;
    background: #F5054F;
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.training-hero h1 {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #F5054F;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.training-hero p.lead {
    font-size: 1.17rem;
    margin-bottom: 20px;
    color: #000;
}

.training-points {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.training-points li {
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 500;
}

.training-points li::before {
    content: "• ";
    color: #F5054F;
    font-size: 1.3rem;
}

/* ------------------------------
   HERO FOTO
------------------------------ */
.training-img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    max-height: 330px;
    object-fit: cover;
    margin-top: 15px;
}

/* ------------------------------
   EXTRA SECTION
------------------------------ */
.training-extra {
    margin-top: 50px;
}

.training-extra h3 {
    font-size: 1.9rem;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    color: #F5054F;
}

/* Benefit cards layout */
.training-benefits {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Benefit card styling */
.training-benefit-card {
    background: #fff;
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
    transition: 0.25s ease;
}

.training-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.training-benefit-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #F5054F;
    font-weight: 600;
}

.training-benefit-card p {
    font-size: 1rem;
    color: #333;
}

/* ------------------------------
   CTA BOX
------------------------------ */
.training-cta {
    margin-top: 55px;
    padding: 40px 30px;
    border-radius: 18px;
    background: linear-gradient(135deg, #F5054F, #b80336);
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.training-cta h3 {
    font-size: 1.9rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.training-cta p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* ============================================
   MOBILE RESPONSIVE STYLING
============================================ */
@media (max-width: 768px) {

    .training-detail-section {
        padding: 20px 15px 40px;
    }

    .training-detail-section .container {
        padding: 0 10px !important;
    }

    .training-hero {
        padding: 20px 18px;
        border-radius: 12px;
        box-shadow: none;
    }

    .training-hero h1 {
        font-size: 1.8rem;
    }

    .training-img {
        max-height: 220px;
        border-radius: 12px;
        margin-top: 15px;
    }

    .training-benefits {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .training-benefit-card {
        padding: 16px;
        border-radius: 12px;
        box-shadow: none;
    }

    .training-cta {
        padding: 22px;
        border-radius: 12px;
        margin: 25px 0 10px;
    }

    .training-cta h3 {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .btn-main {
        margin-top: 12px;
        display: inline-block;
    }
}

/* ===============================
   MOBILE FRIENDLY TRAINING DETAIL
=================================*/

/* Algemeen betere contentbreedte */
.training-detail-section .container {
    max-width: 850px;
    margin: auto;
    padding-left: 18px;
    padding-right: 18px;
}

/* Tekstverbetering */
.training-hero p.lead,
.training-hero ul,
.training-benefit-card p {
    line-height: 1.55;
}

/* Bullet list duidelijker */
.training-points li {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* Titels gecentreerd op mobiel */
.training-hero h1,
.training-extra h3 {
    text-align: center;
}

/* ---- Responsive breakpoints ---- */
@media (max-width: 768px) {

    .training-hero {
        padding: 22px;
        border-radius: 12px;
    }

    /* Kleinere titels */
    .training-hero h1 {
        font-size: 1.8rem;
    }

    .training-extra h3 {
        font-size: 1.4rem;
    }

    /* Paragraphs smaller width */
    .training-hero p,
    .training-extra p,
    .training-benefit-card p {
        font-size: 1rem;
    }

    /* Extra spacing for readability */
    .training-hero p.lead {
        margin-bottom: 14px;
    }

    /* Reduce cramped look */
    .training-benefits {
        gap: 12px;
    }
}

/* Even smaller screens */
@media (max-width: 480px) {

    .training-hero {
        padding: 18px;
    }

    .training-hero h1 {
        font-size: 1.55rem;
    }

    .training-extra h3 {
        font-size: 1.3rem;
    }
}

/* Cards mooier op tablet */
@media (min-width: 769px) and (max-width: 1100px) {
    .training-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================
   INTAKE FORM — MATCHED TO SITE STYLE
================================ */

.intake-container {
    max-width: 650px;
    margin: 40px auto 70px;
    padding: 0 20px;
}

.form-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.18);
}

.form-card label {
    font-weight: 600;
    margin-bottom: 4px;
    color: #000;
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #d7d7d7;
    background: #fff;
    color: #000;
    margin-bottom: 16px;
    font-size: 16px;
    transition: .25s ease;
}

.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
    border-color: #F5054F;
    outline: none;
}

/* Hide "Anders" field */
.hidden {
    display: none !important;
}

/* Success / Error messages */
.alert.success {
    background: #e7ffed;
    border-left: 5px solid #28a745;
}

.alert.error {
    background: #ffe5e8;
    border-left: 5px solid #F5054F;
}

/* ============================================
   INTAKE PAGE - SLOT SELECTION GRID
   (Optional enhancement for better UX)
============================================ */

/* Grid layout for slots */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    margin: 15px 0 25px 0;
}

/* Individual slot item */
.slot-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    position: relative;
}

.slot-item:hover {
    border-color: #F5054F;
    background: #fff5f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 5, 79, 0.15);
}

/* Selected state */
.slot-item.selected,
.slot-item:has(input:checked) {
    border-color: #F5054F;
    background: #ffe4e8;
    box-shadow: 0 4px 12px rgba(245, 5, 79, 0.2);
}

/* Hide default radio button */
.slot-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Custom radio indicator */
.slot-item::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.slot-item:has(input:checked)::before {
    border-color: #F5054F;
    background: #F5054F;
    box-shadow: inset 0 0 0 3px white;
}

/* Slot content wrapper */
.slot-item>span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Date styling */
.slot-date {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

/* Time styling */
.slot-time {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .slots-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .slot-item {
        padding: 12px;
    }

    .slot-date {
        font-size: 0.95rem;
    }

    .slot-time {
        font-size: 0.85rem;
    }
}

/* ============================================
   FORM SECTIONS
============================================ */

/* Section headers in form */
.form-card h3 {
    margin: 25px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #F5054F;
    color: #F5054F;
    font-size: 1.3rem;
}

.form-card h3:first-child {
    margin-top: 0;
}

.form-card h4 {
    margin: 20px 0 10px 0;
    color: #333;
    font-size: 1.1rem;
}

/* Horizontal rule styling */
.form-card hr {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

/* ============================================
   ENHANCED ALERTS
============================================ */

.alert {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 5px solid;
}

.alert.success {
    background: #e7ffed;
    border-color: #28a745;
    color: #155724;
}

.alert.success strong {
    color: #0e4620;
}

.alert.success a {
    color: #F5054F;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #F5054F;
}

.alert.success a:hover {
    color: #d4043d;
    border-color: #d4043d;
}

.alert.error {
    background: #ffe5e8;
    border-color: #F5054F;
    color: #721c24;
}

.alert.error strong {
    color: #4a1118;
}

.alert.error ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.alert.error li {
    margin-bottom: 5px;
}

/* ============================================
   SUBMIT BUTTON
============================================ */

.btn-main.w-100 {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    margin-top: 20px;
}

.btn-main:disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ============================================
   FORM INPUTS ENHANCEMENT
============================================ */

.form-card input:read-only,
.form-card input[readonly] {
    background: #f5f5f5;
    cursor: not-allowed;
    color: #666;
}

.form-card label {
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 6px;
    display: block;
    color: #333;
}

.form-card label:first-of-type {
    margin-top: 0;
}

/* Required field indicator */
.form-card label:has(+ input[required])::after,
.form-card label:has(+ select[required])::after,
.form-card label:has(+ textarea[required])::after {
    content: ' *';
    color: #F5054F;
}

/* ============================================
   OTHER GOAL BOX
============================================ */

#other-goal-box {
    margin-top: 15px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
    border-left: 3px solid #F5054F;
    transition: all 0.3s ease;
}

#other-goal-box.hidden {
    display: none;
}

#other-goal-box label {
    margin-top: 0;
}

/* ============================================
   MOBILE OPTIMIZATIONS
============================================ */

@media (max-width: 480px) {
    .page-heading {
        font-size: 1.8rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .form-card {
        padding: 20px;
    }

    .form-card h3 {
        font-size: 1.2rem;
    }

    .alert {
        padding: 15px;
    }

    .btn-main.w-100 {
        font-size: 1rem;
        padding: 12px;
    }
}

/* ===============================
   REGISTER PAGE === Clean UI
=============================== */

.register-toggle {
    text-align: center;
    margin-bottom: 25px;
}

.register-toggle button {
    background: #fff;
    color: #F5054F;
    border: 2px solid #F5054F;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: .25s;
    font-size: 1.1rem;
    font-family: 'Oswald';
    margin: 0 5px;
}

.register-toggle button:hover,
.register-toggle .active {
    background: #F5054F;
    color: white;
        font-family: 'Oswald';

    
}

.register-submit {
    background: #fff;
    border: 2px solid #F5054F;
    color: #F5054F;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-family: 'Oswald';
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

.register-submit:hover {
    background: #F5054F;
    color: white;
}

.regForm label {
    font-weight: 600;
    margin-top: 8px;
}

/* Fix for mobile */
@media (max-width: 480px) {
    .register-toggle button {
        width: 48%;
        margin-bottom: 8px;
    }
}

/* ============================
   PERSONAL TRAINER AGENDA STYLES (LIGHT THEME)
============================ */

:root {
    --bg: #f4f7f9;
    --card: #ffffff;
    --card-hover: #F5054F;
    --card-past: #374151;
    /* Dark gray for past days */
    --input-bg: #f9fafb;
    --accent: #F5054F;
    --accent-glow: rgba(245, 5, 79, 0.15);
    --text: #111827;
    --text-muted: #6b7280;
    --text-past: #000000;
    --border: #e5e7eb;
    --success: #059669;
    --error: #dc2626;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}



.agenda-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.agenda-header-section {
    margin-bottom: 40px;
    text-align: center;
}

.text-main {
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: #000000;
}

.text-main span {
    color: var(--accent);
}

/* Navigation */
.week-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--card);
    padding: 6px;
    border-radius: 20px;
    border: 1px solid var(--border);
    width: fit-content;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.week-nav-btn {
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.week-nav-btn:hover {
    background: #f3f4f6;
    color: var(--accent);
}

.today-btn.active {
    background: var(--accent);
    color: white;
}

/* Dashboard Cards */
.dashboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.3s ease, background 0.3s ease;
    box-shadow: var(--shadow);
}

.section.is-today {
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(245, 5, 79, 0.08);
}

/* Past days sign: Dark Gray */
.section.is-past {
    background: var(--card-past);
    border-color: #1f2937;
    opacity: 0.9;
}

.section.is-past .day-name,
.section.is-past .radio-title,
.section.is-past .radio-desc,
.section.is-past .time-field label {
    color: var(--text-past);
}

.section.is-past .section-header:hover {
    background: #4b5563;

}

.section.is-past .section-content {
    background: #1f2937;
}

.section-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: black 0.6s ease;
}

.section-header:hover {
    background: #fff0f2;
    color: rgb(0, 0, 0);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.day-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.day-name {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #F5054F;
}

.today-tag {
    font-size: 0.65rem;
    background: var(--accent);
    padding: 2px 8px;
    border-radius: 6px;
    color: white;
    font-weight: 900;
}

.past-tag {
    font-size: 0.65rem;
    background: #9ca3af;
    padding: 2px 8px;
    border-radius: 6px;
    color: white;
    font-weight: 900;
}

/* Badges */
.status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.status-approved {
    background: #ecfdf5;
    color: var(--success);
    border: 1px solid #a7f3d0;
}

.status-declined {
    background: #fef2f2;
    color: var(--error);
    border: 1px solid #fecaca;
}

.is-past .status-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-toggle {
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.open .icon-toggle {
    transform: rotate(180deg);
    color: var(--accent);
}

.is-past .icon-toggle {
    color: #9ca3af;
}

/* Accordion Content */
.section-content {
    max-height: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 24px;
    background: #ffffff;
}

.section.open .section-content {
    max-height: 1000px;
    opacity: 1;
    padding: 24px;
    border-top: 1px solid var(--border);
}

.is-past .section-content {
    border-top-color: #4b5563;
}

/* Form Controls */
.availability-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mode-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.is-past .radio-option {
    background: #374151;
    border-color: #4b5563;
}

.radio-option:hover:not(.disabled) {
    border-color: var(--accent);
    background: #fffafa;
}

.radio-option.disabled {
    cursor: default;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-custom-ui {
    width: 24px;
    height: 24px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    background: white;
}

.is-past .radio-custom-ui {
    background: #4b5563;
    border-color: #6b7280;
}

.radio-option input[type="radio"]:checked+.radio-custom-ui {
    border-color: var(--accent);
}

.radio-option.disabled input[type="radio"]:checked+.radio-custom-ui {
    border-color: #9ca3af;
}

.radio-option input[type="radio"]:checked+.radio-custom-ui::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
}

.radio-option.disabled input[type="radio"]:checked+.radio-custom-ui::after {
    background: #9ca3af;
}

.radio-label-group {
    display: flex;
    flex-direction: column;
}

.radio-title {
    font-weight: 700;
    font-size: 1rem;
    color: #111827;
}

.radio-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Custom Hours Panel */
.custom-hours-panel {
    display: none;
    background: #f9fafb;
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 16px;
    animation: slideDown 0.3s ease-out;
}

.is-past .custom-hours-panel {
    background: #1f2937;
    border-color: #4b5563;
}

.custom-hours-panel.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.time-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.time-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #111827;
    padding: 14px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.2s;
}

.time-input:focus:not(:disabled) {
    border-color: var(--accent);
}

.time-input:disabled {
    background: #4b5563;
    color: #d1d5db;
    border-color: #6b7280;
}

/* Button & Alerts */
.btn-action {
    background: black;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(245, 5, 79, 0.2);
}

.btn-action:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 5, 79, 0.3);
}

.btn-action:active {
    transform: translateY(0);
}

.override-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    justify-content: center;
    margin-bottom: 12px;
}

.locked-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #d1d5db;
    font-weight: 600;
    justify-content: center;
    padding: 12px;
    background: #4b5563;
    border-radius: 12px;
}

/* Responsive Hacks */
@media (max-width: 600px) {
    .agenda-container {
        padding: 20px 15px;
    }

    .text-main {
        font-size: 1.7rem;
    }

    .day-name {
        font-size: 1.1rem;
    }

    .section-header {
        padding: 20px;
    }

    .desktop-only {
        display: none;
    }
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 42px;
}

.pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2rem;
    color: #888;
    user-select: none;
    transition: .2s;
}

.pw-toggle:hover {
    color: #F5054F;
}

/* ===============================
   PROFILE PAGE
================================ */

.profile-container {
    max-width: 520px;
    margin: 60px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.profile-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #111;
}

/* Messages */
.success-message,
.error-message {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.success-message {
    background: #e6f7ec;
    color: #1f7a3a;
}

.error-message {
    background: #fde8e8;
    color: #b42318;
}

/* Form */
#profileForm label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

#profileForm input {
    width: 100%;
    padding: 10px 12px;
    margin-top: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
    font-family: 'Oswald';

}

#profileForm input:focus {
    outline: none;
    border-color: #F5054F;
}

/* Disabled / readonly */
#profileForm input[readonly],
#profileForm input:disabled {
    background: #f5f5f5;
    color: #666;
}

/* Text values */
.profile-value {
    margin-top: 6px;
    padding: 10px 12px;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 0.95rem;
}

/* Buttons */
.profile-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.profile-actions button {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Edit (grijs) */
.profile-actions button:first-child {
    background: #e0e0e0;
    color: #111;
}

/* Save (ROOD → WITTE TEKST) */
.profile-actions button:last-child {
    background: #F5054F;
    color: #fff;
}

.profile-actions button:hover {
    opacity: 0.9;
}

/* Links */
.profile-container a {
    display: inline-block;
    margin-top: 25px;
    text-decoration: none;
    color: #F5054F;
    font-weight: 600;
}

.profile-container a:hover {
    text-decoration: underline;
}

/* =======================================
   MOBILE
======================================= */
@media (max-width: 600px) {
    .profile-container {
        margin: 30px 15px;
        padding: 20px;
    }

    .profile-actions {
        flex-direction: column;
    }

    .profile-actions button {
        width: 100%;
    }
}