/* =========================================
   THERAOO - PROFIL UTILISATEUR
========================================= */

.theraoo-profile-form-wrapper {
    width: 100%;
}


/* Titres
----------------------------------------- */

.theraoo-profile-form-wrapper .theraoo-section-title {
    margin: 0 0 30px;
    padding-bottom: 12px;

    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;

    color: #1f2d3d;

    border-bottom: 1px solid #e5e8eb;
}


/* Espacement entre les deux blocs
----------------------------------------- */

.theraoo-profile-password {
    margin-top: 50px;
}


/* Grille informations personnelles
----------------------------------------- */

.theraoo-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
}

.theraoo-profile-field-full {
    grid-column: 1 / -1;
}


/* Champs
----------------------------------------- */

.theraoo-profile-field {
    margin-bottom: 22px;
}

.theraoo-profile-grid .theraoo-profile-field {
    margin-bottom: 0;
}

.theraoo-profile-field label {
    display: block;

    margin-bottom: 7px;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;

    color: #263746;
}


/* Inputs
----------------------------------------- */

.theraoo-profile-field input[type="text"],
.theraoo-profile-field input[type="email"],
.theraoo-profile-field input[type="password"] {
    width: 100%;
    min-height: 48px;

    padding: 10px 14px;

    font-size: 16px;
    line-height: 1.4;

    color: #263746;
    background: #fff;

    border: 1px solid #d7dde2;
    border-radius: 6px;

    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Focus
----------------------------------------- */

.theraoo-profile-field input[type="text"]:focus,
.theraoo-profile-field input[type="email"]:focus,
.theraoo-profile-field input[type="password"]:focus {
    outline: none;

    border-color: #196788;

    box-shadow: 0 0 0 3px rgba(25, 103, 136, 0.10);
}


/* Boutons
----------------------------------------- */

.theraoo-profile-form .theraoo-profile-submit,
.theraoo-password-form .theraoo-profile-submit {
    margin-top: 28px;
}

/* Boutons profil + mot de passe */
.theraoo-profile-form button[type="submit"],
.theraoo-password-form button[type="submit"] {

    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 11px 24px;

    font-size: 15px;
    font-weight: 600;
    line-height: 1;

    color: #fff !important;
    background-color: #196788 !important;

    border: 1px solid #196788 !important;
    border-radius: 6px !important;

    box-shadow: none !important;
    text-decoration: none !important;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease;
}

.theraoo-profile-form button[type="submit"]:hover,
.theraoo-password-form button[type="submit"]:hover {
    color: #fff !important;
    background-color: #14546f !important;
    border-color: #14546f !important;
}

.theraoo-profile-form button[type="submit"]:active,
.theraoo-password-form button[type="submit"]:active {
    transform: translateY(1px);
}

/* Messages
----------------------------------------- */

.theraoo-profile-message {
    margin-bottom: 25px;
    padding: 14px 16px;

    font-size: 15px;
    line-height: 1.5;

    border-radius: 6px;
}

.theraoo-profile-success {
    color: #246b35;
    background: #eef8f0;
    border: 1px solid #b9dfc1;
}

.theraoo-profile-error {
    color: #a12b2b;
    background: #fff2f2;
    border: 1px solid #e5bcbc;
}


/* Bloc sécurité
----------------------------------------- */

.theraoo-password-form {
    max-width: 760px;
}


/* Mobile
----------------------------------------- */

@media (max-width: 767px) {

    .theraoo-profile-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .theraoo-profile-field-full {
        grid-column: auto;
    }

    .theraoo-profile-form-wrapper .theraoo-section-title {
        font-size: 24px;
    }

    .theraoo-profile-password {
        margin-top: 40px;
    }

    .theraoo-profile-submit button {
        width: 100%;
    }

}