html {
    border: 5px solid grey;
}


body {
    border: 3px solid black;
    margin: 0;
    padding: 0;
    background-color: black;
    background-image: url("../img/fond.png");
    background-repeat: repeat;
    font-family: Caflisch Script, cursive
}




@media (max-width: 800px) {
    .headerlogo {
        position: relative;
        margin: 0;
        padding: 0;
        background-color: black;
        color: azure;
        width: 100%;
        text-align: center;

    }
}


.headerlogo {
    position: relative;
    margin: 0;
    padding: 0;

    color: azure;
    width: 100%;
    text-align: center;

}


.pagecontent {

    position: relative;
    min-height: 90vh;

}

.textlogo {

    font-size: 50px;
}


.container {

    padding: 10px;
    text-align: center;
    width: 80%;
    margin: auto;


}

.inputtext {

    border-color: rgb(255, 31, 31);
    border-width: 3px;
    border-style: solid;
    width: 80%;
    height: 20px;

    padding: 10px;
    outline: none;
    border-radius: 5px;
    color: blue;
    font-size: 20px;

}

.selecttext {

    border-color: rgb(255, 31, 31);
    border-width: 3px;
    border-style: solid;
    width: 80%;
    height: 50px;


    border-radius: 5px;
    color: blue;
    font-size: 20px;

}


.labeltext {

    color: rgb(255, 255, 255);
    font-size: 25px;
    text-align: left;

}

.labelinfo {

    color: rgb(255, 255, 255);
    font-size: 25px;
    text-align: center;

}


.texterreur {

    color: rgb(255, 31, 31);
    font-size: 20px;
    text-align: left;
    background-color: rgb(219, 252, 34);
    width: 80%;
    padding: 5px;

}

.labeltitre {

    color: rgb(255, 255, 255);
    font-size: 30px;
    text-align: center;
    background-color: rgb(255, 31, 31);
    border-radius: 5px;

}


.btnnoir {
    background: black;
    color: aliceblue;
    font-size: 18px;
    padding: 10px 10px 10px 10px;
    width: 100%;
    margin: 8px 0;
    border-radius: 20px;
    border: 0;
}

.btnstyleA {
    background: rgb(255, 31, 31);
    color: white;
    font-size: 25px;
    padding: 10px 10px 10px 10px;
    width: 70%;
    margin: 8px 0;
    border-radius: 5px;
    border: 0;
}

.btnstyleB {
    background: blue;
    color: white;
    font-size: 25px;
    padding: 10px 10px 10px 10px;
    width: 70%;
    margin: 8px 0;
    border-radius: 5px;
    border: 0;
}


.btnheure {

    background: black;
    color: aliceblue;
    font-size: 18px;
    padding: 5px 5px 5px 5px;
    width: 100px;
    margin: 8px 0;
    border-radius: 20px;
    border: 0;
}

.btnheure2 {

    background: blue;
    color: aliceblue;
    font-size: 18px;
    padding: 5px 5px 5px 5px;
    width: 100px;
    margin: 8px 0;
    border-radius: 20px;
    border: 0;
}



.btnsuivantretour {

    background: blue;
    color: white;
    font-size: 20px;

    width: 50px;

    border-color: rgb(255, 31, 31);
    border-width: 3px;
    border-style: solid;
}


.btncoiffeuroff {

    background: blue;
    color: white;
    font-size: 18px;
    padding: 5px 5px 5px 5px;

    margin: 8px 0;
    border-radius: 20px;
    border: 0;

}

.btncoiffeuron {

    background: rgb(255, 31, 31);
    color: white;
    font-size: 28px;
    padding: 5px 5px 5px 5px;

    margin: 8px 0;
    border-radius: 20px;
    border: 2;

}


.textjour {
    font-size: 30px;
    text-align: center;
}


.clientrdvliste {


    border-style: dotted;
    margin: 20, 20, 20, 20;
    font-size: 25px;

}

.rdvok {
    background-color: chartreuse;
}

.rdvko {
    background-color: rgb(248, 165, 10);
}

.rdvrefus {
    background-color: rgb(185, 8, 8);
}


.footer {

    position: absolute;
    bottom: 0px;
    margin: auto;

}


.inputladate {

    font-family: Caflisch Script, cursive;
    font-size: 1.5rem;
    width: 170px;
}

.salon_message {
    background-color: rgb(231, 235, 8);
    color: rgb(238, 1, 1);
    width: 400px;
    font-size: 25px;

    margin: auto;

}

@media (max-width: 800px) {

    .salon_message {
        background-color: rgb(231, 235, 8);
        color: rgb(238, 1, 1);
        width: 300px;
        font-size: 25px;
        margin: auto;
    }
}
/* =====================================================================
   PAGE DE CONNEXION CLIENT (index.php) - refonte graphique
   Toutes les regles sont scopes (body.loginbody / .login-*) afin de ne
   pas modifier l'apparence des autres pages de l'application.
   ===================================================================== */

body.loginbody {
    border: 0;
    background-color: #08080a;
    background-image: radial-gradient(circle at 50% -5%, rgba(255, 31, 31, .28), rgba(0, 0, 0, 0) 58%), url("../img/fond.png");
    background-repeat: no-repeat, repeat;
    font-family: 'Montserrat', 'Lato', Arial, Helvetica, sans-serif;
}

html:has(> body.loginbody) {
    border: 0;
}

body.loginbody .headerlogo {
    padding-top: 28px;
}

.login-wrap {
    box-sizing: border-box;
    min-height: 68vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 30px;
}

.login-form {
    box-sizing: border-box;
    width: 100%;
    max-width: 400px;
}

.login-card {
    box-sizing: border-box;
    width: 100%;
    padding: 34px 28px 28px;
    background: rgba(13, 13, 17, .92);
    border: 1px solid rgba(255, 255, 255, .09);
    border-top: 3px solid rgb(255, 31, 31);
    border-radius: 18px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
    text-align: center;
    animation: login-appear .35s ease-out both;
}

@keyframes login-appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.login-subtitle {
    margin-top: 6px;
    color: rgba(255, 255, 255, .55);
    font-size: 14px;
}

.login-error {
    margin-top: 18px;
    padding: 11px 14px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    background: rgba(200, 20, 20, .18);
    border: 1px solid rgba(255, 60, 60, .5);
    border-left: 4px solid rgb(255, 31, 31);
    border-radius: 8px;
}

.login-card .labeltext {
    margin: 22px 0 6px;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: left;
    text-transform: uppercase;
}

.login-card .inputtext {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 13px 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    background: #101014;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.login-card .inputtext:focus {
    background: #15151b;
    border-color: rgb(255, 31, 31);
    box-shadow: 0 0 0 3px rgba(255, 31, 31, .22);
}

.login-btn {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 26px 0 0;
    padding: 15px 10px;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ff3b3b, #c81717);
    border: 0;
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(255, 31, 31, .35);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.login-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(255, 31, 31, .45);
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(255, 31, 31, .35);
}

.login-btn:focus-visible,
.login-link:focus-visible,
.login-interne:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.login-links {
    box-sizing: border-box;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.login-link {
    flex: 1 1 130px;
    box-sizing: border-box;
    padding: 12px 10px;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    background: #121217;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .45);
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.login-link:hover {
    color: #ffffff;
    background: #1b1b22;
    border-color: rgba(255, 255, 255, .45);
}

.login-link-cta {
    color: #ffffff;
    background: #16204a;
    border-color: rgba(90, 130, 255, .55);
}

.login-link-cta:hover {
    background: #1c2a63;
    border-color: rgba(120, 155, 255, .85);
}

.login-footer {
    margin-top: 20px;
    text-align: center;
}

.login-interne {
    display: inline-block;
    padding: 8px 18px;
    color: rgba(255, 255, 255, .45);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    background: #0f0f13;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.login-interne:hover {
    color: #ffffff;
    background: #1b1b22;
    border-color: rgba(255, 255, 255, .35);
}

@media (max-width: 480px) {
    .login-wrap {
        min-height: 58vh;
        padding: 16px 12px 24px;
    }

    .login-card {
        padding: 26px 18px 22px;
        border-radius: 14px;
    }

    .login-title {
        font-size: 23px;
    }

    .login-link {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-card {
        animation: none;
    }
}

/* =====================================================================
   PAGE D'ACCUEIL CLIENT (accueil.php) - refonte graphique
   Toutes les regles sont scopees (body.accueilbody / .accueil-*) afin de
   ne pas modifier l'apparence des autres pages de l'application.
   ===================================================================== */

body.accueilbody {
    border: 0;
    background-color: #08080a;
    background-image: radial-gradient(circle at 50% -5%, rgba(255, 31, 31, .28), rgba(0, 0, 0, 0) 58%), url("../img/fond.png");
    background-repeat: no-repeat, repeat;
    font-family: 'Montserrat', 'Lato', Arial, Helvetica, sans-serif;
}

html:has(> body.accueilbody) {
    border: 0;
}

body.accueilbody .headerlogo {
    padding-top: 28px;
}

body.accueilbody .container {
    box-sizing: border-box;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 18px 16px 30px;
    text-align: center;
}

/* --- cartes --- */

.accueil-card {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 18px;
    padding: 24px 22px 22px;
    background: rgba(13, 13, 17, .92);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
    animation: accueil-appear .35s ease-out both;
}

.accueil-card-salon,
.accueil-card-user {
    border-top: 3px solid rgb(255, 31, 31);
}

@keyframes accueil-appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accueil-card-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.accueil-card-text {
    margin-top: 8px;
    color: rgba(255, 255, 255, .6);
    font-size: 15px;
}

.accueil-hello {
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.accueil-name {
    margin-top: 4px;
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
}

/* --- boutons --- */

.accueil-btn {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 18px 0 0;
    padding: 15px 10px;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #1b1b22;
    border: 0;
    border-radius: 10px;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background-color .15s ease;
}

.accueil-btn-primary {
    background: linear-gradient(135deg, #ff3b3b, #c81717);
    box-shadow: 0 12px 26px rgba(255, 31, 31, .35);
}

.accueil-btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(255, 31, 31, .45);
}

.accueil-btn-ghost {
    color: rgba(255, 255, 255, .8);
    background: #121217;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .45);
}

.accueil-btn-ghost:hover {
    color: #ffffff;
    background: #1b1b22;
    border-color: rgba(255, 255, 255, .45);
}

.accueil-btn-danger {
    margin-top: 16px;
    padding: 12px 10px;
    color: #ffffff;
    font-size: 14px;
    background: rgba(200, 20, 20, .18);
    border: 1px solid rgba(255, 60, 60, .5);
    box-shadow: none;
}

.accueil-btn-danger:hover {
    filter: none;
    background: rgba(220, 30, 30, .32);
    border-color: rgba(255, 60, 60, .85);
    box-shadow: 0 10px 22px rgba(255, 31, 31, .18);
}

.accueil-btn:active {
    transform: translateY(0);
}

.accueil-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* --- formulaire de choix du salon --- */

.accueil-form {
    margin-top: 18px;
}

.accueil-card-salon select {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: auto;
    padding: 13px 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    background: #101014;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.accueil-card-salon select:focus {
    background: #15151b;
    border-color: rgb(255, 31, 31);
    box-shadow: 0 0 0 3px rgba(255, 31, 31, .22);
}

.accueil-card-salon select option {
    background: #101014;
    color: #ffffff;
}

/* --- messages --- */

body.accueilbody .salon_message {
    box-sizing: border-box;
    width: 100%;
    max-width: 640px;
    margin: 0 auto 18px;
    padding: 14px 16px;
    color: #ffe9a8;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    background: rgba(231, 235, 8, .12);
    border: 1px solid rgba(231, 235, 8, .45);
    border-left: 4px solid rgb(231, 235, 8);
    border-radius: 10px;
}

.accueil-blocked {
    margin-top: 18px;
    padding: 11px 14px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    background: rgba(200, 20, 20, .18);
    border: 1px solid rgba(255, 60, 60, .5);
    border-left: 4px solid rgb(255, 31, 31);
    border-radius: 8px;
}

.accueil-contact {
    margin: 6px 0 20px;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    text-align: center;
}

.accueil-contact strong {
    color: #ffffff;
    font-size: 17px;
    letter-spacing: 1px;
}

/* --- liste des rendez-vous client --- */

.accueil-section-title {
    margin: 26px 0 12px;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: left;
    text-transform: uppercase;
}

body.accueilbody .clientrdvliste {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 14px;
    padding: 18px 18px 16px;
    color: #ffffff;
    font-size: 16px;
    text-align: left;
    background: rgba(13, 13, 17, .92);
    border: 1px solid rgba(255, 255, 255, .09);
    border-left: 4px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}

body.accueilbody .accueil-rdv-ok {
    border-left-color: #37d67a;
}

body.accueilbody .accueil-rdv-wait {
    border-left-color: rgb(248, 165, 10);
}

body.accueilbody .accueil-rdv-refus {
    border-left-color: rgb(255, 31, 31);
}

.accueil-rdv-top {
    margin-bottom: 10px;
}

.accueil-badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 20px;
}

.accueil-badge-ok {
    color: #04240f;
    background: #37d67a;
}

.accueil-badge-wait {
    color: #3a2400;
    background: rgb(248, 165, 10);
}

.accueil-badge-refus {
    color: #ffffff;
    background: rgb(200, 20, 20);
}

.accueil-rdv-date {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.accueil-rdv-salon {
    margin-top: 4px;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
}

.accueil-rdv-status {
    margin-top: 8px;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
}

.accueil-rdv-form {
    margin: 0;
}

/* --- pied de page --- */

body.accueilbody .footer {
    position: static;
    box-sizing: border-box;
    width: 100%;
    max-width: 400px;
    margin: 6px auto 0;
}

/* --- responsive --- */

@media (max-width: 480px) {
    body.accueilbody .container {
        padding: 14px 12px 26px;
    }

    .accueil-card {
        padding: 20px 16px 18px;
        border-radius: 14px;
    }

    .accueil-card-title {
        font-size: 19px;
    }

    .accueil-name {
        font-size: 22px;
    }

    .accueil-rdv-date {
        font-size: 18px;
    }

    body.accueilbody .clientrdvliste {
        padding: 16px 14px 14px;
    }

    .accueil-btn {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .accueil-card {
        animation: none;
    }
}

/* =====================================================================
   PAGE DE CREATION DE COMPTE CLIENT (register.php) - refonte graphique
   Toutes les regles sont scopees (body.registerbody / .register-*) afin
   de ne pas modifier l'apparence des autres pages de l'application.
   ===================================================================== */

body.registerbody {
    border: 0;
    background-color: #08080a;
    background-image: radial-gradient(circle at 50% -5%, rgba(255, 31, 31, .28), rgba(0, 0, 0, 0) 58%), url("../img/fond.png");
    background-repeat: no-repeat, repeat;
    font-family: 'Montserrat', 'Lato', Arial, Helvetica, sans-serif;
}

html:has(> body.registerbody) {
    border: 0;
}

body.registerbody .headerlogo {
    padding-top: 28px;
}

body.registerbody .container {
    box-sizing: border-box;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 24px 16px 34px;
    text-align: center;
}

.register-card {
    box-sizing: border-box;
    width: 100%;
    padding: 34px 28px 28px;
    background: rgba(13, 13, 17, .92);
    border: 1px solid rgba(255, 255, 255, .09);
    border-top: 3px solid rgb(255, 31, 31);
    border-radius: 18px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
    text-align: center;
    animation: register-appear .35s ease-out both;
}

@keyframes register-appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.register-subtitle {
    margin-top: 6px;
    color: rgba(255, 255, 255, .55);
    font-size: 14px;
}

.register-error {
    margin-top: 18px;
    padding: 11px 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    text-align: left;
    background: rgba(200, 20, 20, .18);
    border: 1px solid rgba(255, 60, 60, .5);
    border-left: 4px solid rgb(255, 31, 31);
    border-radius: 8px;
}

.register-card .labeltext {
    margin: 18px 0 6px;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: left;
    text-transform: uppercase;
}

.register-card .inputtext {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 13px 14px;
    color: #ffffff;
    color-scheme: dark;
    font-family: inherit;
    font-size: 16px;
    background: #101014;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.register-card .inputtext::placeholder {
    color: rgba(255, 255, 255, .35);
}

.register-card .inputtext:focus {
    background: #15151b;
    border-color: rgb(255, 31, 31);
    box-shadow: 0 0 0 3px rgba(255, 31, 31, .22);
}

.register-card .selecttext {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 13px 42px 13px 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    background-color: #101014;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b6b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.register-card .selecttext:focus {
    background-color: #15151b;
    border-color: rgb(255, 31, 31);
    box-shadow: 0 0 0 3px rgba(255, 31, 31, .22);
}

.register-card .selecttext option {
    color: #ffffff;
    background: #101014;
}

body.registerbody .g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 10px 0 0;
}

.register-btn {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 26px 0 0;
    padding: 15px 10px;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ff3b3b, #c81717);
    border: 0;
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(255, 31, 31, .35);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.register-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(255, 31, 31, .45);
}

.register-btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(255, 31, 31, .35);
}

.register-btn:focus-visible,
.register-alt-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.register-alt {
    margin-top: 20px;
    color: rgba(255, 255, 255, .55);
    font-size: 14px;
    text-align: center;
}

.register-alt-link {
    color: #ff6b6b;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.register-alt-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 480px) {
    body.registerbody .container {
        padding: 16px 12px 26px;
    }

    .register-card {
        padding: 26px 18px 22px;
        border-radius: 14px;
    }

    .register-title {
        font-size: 21px;
    }

    .register-card .inputtext,
    .register-card .selecttext {
        font-size: 15px;
    }

    .register-btn {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .register-card {
        animation: none;
    }
}

/* =====================================================================
   PAGE DE MOT DE PASSE OUBLIE (mdpoubli.php) - refonte graphique
   Toutes les regles sont scopees (body.mdpoublibody / .mdpoubli-*) afin
   de ne pas modifier l'apparence des autres pages de l'application.
   ===================================================================== */

body.mdpoublibody {
    border: 0;
    background-color: #08080a;
    background-image: radial-gradient(circle at 50% -5%, rgba(255, 31, 31, .28), rgba(0, 0, 0, 0) 58%), url("../img/fond.png");
    background-repeat: no-repeat, repeat;
    font-family: 'Montserrat', 'Lato', Arial, Helvetica, sans-serif;
}

html:has(> body.mdpoublibody) {
    border: 0;
}

body.mdpoublibody .headerlogo {
    padding-top: 28px;
}

body.mdpoublibody .container {
    box-sizing: border-box;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 24px 16px 34px;
    text-align: center;
}

.mdpoubli-card {
    box-sizing: border-box;
    width: 100%;
    padding: 34px 28px 28px;
    background: rgba(13, 13, 17, .92);
    border: 1px solid rgba(255, 255, 255, .09);
    border-top: 3px solid rgb(255, 31, 31);
    border-radius: 18px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
    text-align: center;
    animation: mdpoubli-appear .35s ease-out both;
}

@keyframes mdpoubli-appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mdpoubli-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.mdpoubli-subtitle {
    margin-top: 6px;
    color: rgba(255, 255, 255, .55);
    font-size: 14px;
    line-height: 1.6;
}

.mdpoubli-error {
    margin-top: 18px;
    padding: 11px 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    text-align: left;
    background: rgba(200, 20, 20, .18);
    border: 1px solid rgba(255, 60, 60, .5);
    border-left: 4px solid rgb(255, 31, 31);
    border-radius: 8px;
}

.mdpoubli-info {
    margin-top: 18px;
    padding: 11px 14px;
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    background: rgba(20, 120, 60, .16);
    border: 1px solid rgba(60, 210, 120, .45);
    border-left: 4px solid rgb(40, 200, 110);
    border-radius: 8px;
}

.mdpoubli-card .labeltext {
    margin: 18px 0 6px;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: left;
    text-transform: uppercase;
}

.mdpoubli-card .inputtext {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 13px 14px;
    color: #ffffff;
    color-scheme: dark;
    font-family: inherit;
    font-size: 16px;
    background: #101014;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.mdpoubli-card .inputtext::placeholder {
    color: rgba(255, 255, 255, .35);
}

.mdpoubli-card .inputtext:focus {
    background: #15151b;
    border-color: rgb(255, 31, 31);
    box-shadow: 0 0 0 3px rgba(255, 31, 31, .22);
}

.mdpoubli-btn {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 26px 0 0;
    padding: 15px 10px;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ff3b3b, #c81717);
    border: 0;
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(255, 31, 31, .35);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.mdpoubli-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(255, 31, 31, .45);
}

.mdpoubli-btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(255, 31, 31, .35);
}

.mdpoubli-btn:focus-visible,
.mdpoubli-alt-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.mdpoubli-alt {
    margin-top: 20px;
    color: rgba(255, 255, 255, .55);
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

.mdpoubli-alt-link {
    color: #ff6b6b;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}

.mdpoubli-alt-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.mdpoubli-sep {
    margin: 0 6px;
    color: rgba(255, 255, 255, .25);
}

@media (max-width: 480px) {
    body.mdpoublibody .container {
        padding: 16px 12px 26px;
    }

    .mdpoubli-card {
        padding: 26px 18px 22px;
        border-radius: 14px;
    }

    .mdpoubli-title {
        font-size: 21px;
    }

    .mdpoubli-card .inputtext {
        font-size: 15px;
    }

    .mdpoubli-btn {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mdpoubli-card {
        animation: none;
    }
}


/* =====================================================================
   PAGE DE PRISE DE RENDEZ-VOUS CLIENT (rdv_liste.php + planning.php +
   choix_date.php) - refonte graphique
   Toutes les regles sont scopees (body.rdvlistebody / .rdvliste-*) afin de
   ne pas modifier l'apparence des pages admin et espace coiffeur, qui
   reutilisent les memes classes historiques (.btnheure2, .btncoiffeuron,
   .btncoiffeuroff, .btnsuivantretour, .inputladate, .labelinfo).
   ===================================================================== */

body.rdvlistebody {
    border: 0;
    background-color: #08080a;
    background-image: radial-gradient(circle at 50% -5%, rgba(255, 31, 31, .28), rgba(0, 0, 0, 0) 58%), url("../img/fond.png");
    background-repeat: no-repeat, repeat;
    font-family: 'Montserrat', 'Lato', Arial, Helvetica, sans-serif;
}

html:has(> body.rdvlistebody) {
    border: 0;
}

body.rdvlistebody .headerlogo {
    padding-top: 28px;
}

body.rdvlistebody .container {
    box-sizing: border-box;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 24px 16px 34px;
    text-align: center;
}

/* --- en-tete de page --- */

.rdvliste-head {
    margin: 0 0 18px;
}

.rdvliste-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.rdvliste-subtitle {
    margin-top: 6px;
    color: rgba(255, 255, 255, .55);
    font-size: 14px;
    line-height: 1.6;
}

/* --- alerte --- */

.rdvliste-error,
body.rdvlistebody .texterreur {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 18px;
    padding: 11px 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    text-align: left;
    background: rgba(200, 20, 20, .18);
    border: 1px solid rgba(255, 60, 60, .5);
    border-left: 4px solid rgb(255, 31, 31);
    border-radius: 8px;
}

/* --- panneau principal (contenu de #main) --- */

.rdvliste-card {
    box-sizing: border-box;
    width: 100%;
    padding: 22px 18px 20px;
    color: #ffffff;
    background: rgba(13, 13, 17, .92);
    border: 1px solid rgba(255, 255, 255, .09);
    border-top: 3px solid rgb(255, 31, 31);
    border-radius: 18px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
    animation: rdvliste-appear .35s ease-out both;
}

@keyframes rdvliste-appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- tableaux du planning --- */

body.rdvlistebody table {
    margin: 0 auto;
    color: #ffffff;
    border-collapse: separate;
    border-spacing: 5px;
}

body.rdvlistebody table td {
    padding: 0;
    text-align: center;
}

body.rdvlistebody .rdvliste-grid {
    width: 100%;
    table-layout: fixed;
}

/* --- titre de section --- */

body.rdvlistebody .labeltext {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

body.rdvlistebody .labeltext h2 {
    margin: 0;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- boutons coiffeurs --- */

.rdvliste-coiffeurs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 0 8px;
}

body.rdvlistebody .btncoiffeuroff,
body.rdvlistebody .btncoiffeuron {
    display: inline-block;
    margin: 4px;
    padding: 10px 18px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    border-radius: 30px;
    transition: transform .15s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, filter .15s ease;
}

body.rdvlistebody .btncoiffeuroff {
    color: rgba(255, 255, 255, .85);
    background: #14141a;
    border: 1px solid rgba(255, 255, 255, .16);
}

body.rdvlistebody .btncoiffeuroff:hover {
    color: #ffffff;
    background: #1c1c24;
    border-color: rgba(255, 255, 255, .4);
}

body.rdvlistebody .btncoiffeuron {
    color: #ffffff;
    background: linear-gradient(135deg, #ff3b3b, #c81717);
    border: 1px solid rgb(255, 31, 31);
    box-shadow: 0 12px 26px rgba(255, 31, 31, .35);
}

body.rdvlistebody .btncoiffeuron:hover {
    filter: brightness(1.08);
}

body.rdvlistebody .btncoiffeuroff:focus-visible,
body.rdvlistebody .btncoiffeuron:focus-visible,
body.rdvlistebody .btnheure2:focus-visible,
body.rdvlistebody .btnsuivantretour:focus-visible,
body.rdvlistebody .inputladate:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* --- navigation de date --- */

body.rdvlistebody .labelinfo {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

body.rdvlistebody .rdvliste-day {
    line-height: 1.9;
    text-transform: capitalize;
}

body.rdvlistebody .rdvliste-label {
    margin-bottom: 4px;
}

body.rdvlistebody .inputladate {
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    margin: 8px 0 0;
    padding: 9px 12px;
    color: #ffffff;
    color-scheme: dark;
    font-family: inherit;
    font-size: 15px;
    background: #101014;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

body.rdvlistebody .inputladate:focus {
    background: #15151b;
    border-color: rgb(255, 31, 31);
    box-shadow: 0 0 0 3px rgba(255, 31, 31, .22);
}

body.rdvlistebody .btnsuivantretour {
    box-sizing: border-box;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    background: #14141a;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.rdvlistebody .btnsuivantretour:hover {
    background: #1c1c24;
    border-color: rgb(255, 31, 31);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .45);
}

body.rdvlistebody .rdvliste-datenav {
    margin: 0 auto 6px;
}

body.rdvlistebody .rdvliste-datenav td {
    padding: 0 4px;
    vertical-align: middle;
}

/* --- creneaux horaires --- */

body.rdvlistebody .btnheure2 {
    box-sizing: border-box;
    width: 100%;
    min-width: 70px;
    margin: 0;
    padding: 12px 8px;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    background: #14141a;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    transition: transform .15s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.rdvlistebody .btnheure2:hover {
    background: linear-gradient(135deg, #ff3b3b, #c81717);
    border-color: rgb(255, 31, 31);
    box-shadow: 0 12px 24px rgba(255, 31, 31, .35);
    transform: translateY(-1px);
}

/* --- etat vide --- */

body.rdvlistebody .rdvliste-empty {
    margin: 16px 0 0;
    padding: 18px 16px;
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    background: rgba(200, 20, 20, .12);
    border: 1px dashed rgba(255, 255, 255, .22);
    border-radius: 12px;
}

.rdvliste-hint {
    margin-top: 10px;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    text-align: center;
}

/* --- confirmation du creneau (choix_date.php) --- */

.rdvliste-confirm-text {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

.rdvliste-confirm-text strong {
    color: #ffffff;
    font-weight: 700;
}

.rdvliste-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- boutons generiques --- */

.rdvliste-btn {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 0;
    padding: 15px 10px;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 0;
    border-radius: 10px;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background-color .2s ease, border-color .2s ease;
}

.rdvliste-btn-primary {
    background: linear-gradient(135deg, #ff3b3b, #c81717);
    box-shadow: 0 12px 26px rgba(255, 31, 31, .35);
}

.rdvliste-btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(255, 31, 31, .45);
}

.rdvliste-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(255, 31, 31, .35);
}

.rdvliste-btn-ghost {
    color: rgba(255, 255, 255, .85);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .22);
}

.rdvliste-btn-ghost:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .45);
}

.rdvliste-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* --- pied de page --- */

.rdvliste-footer {
    margin-top: 22px;
}

/* --- responsive --- */

@media (min-width: 481px) {
    .rdvliste-actions {
        flex-direction: row;
    }

    .rdvliste-actions .rdvliste-btn {
        flex: 1 1 50%;
    }
}

@media (max-width: 480px) {
    body.rdvlistebody .container {
        padding: 16px 12px 26px;
    }

    .rdvliste-card {
        padding: 20px 14px 18px;
        border-radius: 14px;
    }

    .rdvliste-title {
        font-size: 21px;
    }

    body.rdvlistebody .btncoiffeuroff,
    body.rdvlistebody .btncoiffeuron {
        padding: 9px 14px;
        font-size: 14px;
    }

    body.rdvlistebody .btnheure2 {
        min-width: 58px;
        padding: 11px 6px;
        font-size: 14px;
    }

    .rdvliste-btn {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rdvliste-card {
        animation: none;
    }
}

/* =====================================================================
   PAGE MON MOT DE PASSE (mon_mdp.php - espace client) - refonte graphique
   Meme parcours et meme rendu que la page mot de passe oublie : les
   composants .mdpoubli-* (carte, titre, champs, bouton, messages, liens)
   sont reutilises tels quels. Seules les regles de page sont ajoutees
   ici, scopees body.monmdpbody, afin de ne pas modifier l'apparence des
   autres pages de l'application.
   ===================================================================== */

body.monmdpbody {
    border: 0;
    background-color: #08080a;
    background-image: radial-gradient(circle at 50% -5%, rgba(255, 31, 31, .28), rgba(0, 0, 0, 0) 58%), url("../img/fond.png");
    background-repeat: no-repeat, repeat;
    font-family: 'Montserrat', 'Lato', Arial, Helvetica, sans-serif;
}

html:has(> body.monmdpbody) {
    border: 0;
}

body.monmdpbody .headerlogo {
    padding-top: 28px;
}

body.monmdpbody .container {
    box-sizing: border-box;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 24px 16px 34px;
    text-align: center;
}

@media (max-width: 480px) {
    body.monmdpbody .container {
        padding: 16px 12px 26px;
    }
}

