/* Hydroplante Account : lien "connectez-vous pour voir le prix". */

.hpa-login-for-price {
    display: inline-block;
    font-family: "Raleway", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2787C9;
    text-decoration: none;
    border: 1px solid #E2E8E2;
    border-radius: 8px;
    padding: 6px 12px;
    background: #e8f3fb;
    transition: background 0.15s ease, color 0.15s ease;
}

.hpa-login-for-price:hover,
.hpa-login-for-price:focus {
    background: #2787C9;
    color: #ffffff;
}

a.button.hpa-login-for-price {
    line-height: 1.4;
}

/* Variante phrase a deux liens ("Connectez-vous ou creez un compte pour
   voir le prix") : la pastille garde son fond, seul le lien survole
   reagit. */
.hpa-guest-price,
.hpa-guest-price:hover,
.hpa-guest-price:focus {
    background: #e8f3fb;
    color: #1F2626;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    cursor: default;
}

.hpa-guest-price .hpa-guest-price__link {
    color: #2787C9;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hpa-guest-price .hpa-guest-price__link:hover,
.hpa-guest-price .hpa-guest-price__link:focus {
    color: #0E9EDE;
}

/* ----- Formulaires compte ----- */

.hpa-form-wrap {
    font-family: "Raleway", sans-serif;
    color: #1F2626;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
}

.hpa-form .hpa-field {
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hpa-form label {
    font-weight: 600;
    font-size: 0.9rem;
}

.hpa-form input[type="text"],
.hpa-form input[type="email"],
.hpa-form input[type="tel"],
.hpa-form input[type="password"],
.hpa-form select {
    font-family: inherit;
    font-size: 1rem;
    padding: 10px 12px;
    border: 1px solid #E2E8E2;
    border-radius: 8px;
    background: #ffffff;
}

.hpa-form input:focus,
.hpa-form select:focus {
    outline: none;
    border-color: #2787C9;
    box-shadow: 0 0 0 3px #e8f3fb;
}

.hpa-field--check label {
    flex-direction: row;
    font-weight: 400;
}

.hpa-field--check .hpa-terms-link {
    color: #2787C9;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hpa-field--check .hpa-terms-link:hover,
.hpa-field--check .hpa-terms-link:focus {
    color: #0E9EDE;
}

.hpa-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hpa-submit {
    font-family: inherit;
    font-weight: 600;
    background: #2787C9;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
}

.hpa-submit:hover {
    background: #0E9EDE;
}

.hpa-hint {
    font-size: 0.8rem;
    color: #767676;
}

.hpa-field--required label::after {
    content: " *";
    color: #c0392b;
}

/* Indicateur de force du mot de passe */
.hpa-strength {
    display: block;
    height: 6px;
    background: #E2E8E2;
    border-radius: 4px;
    overflow: hidden;
}

.hpa-strength__bar {
    display: block;
    height: 100%;
    width: 0;
    background: #c0392b;
    transition: width 0.2s ease, background 0.2s ease;
}

.hpa-strength__bar[data-level="medium"] { background: #e8c840; }
.hpa-strength__bar[data-level="strong"] { background: #5a8a3c; }

/* ----- Notices ----- */

.hpa-notice {
    font-family: "Raleway", sans-serif;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 0 0 16px;
}

.hpa-notice--success {
    background: #eef7ea;
    border: 1px solid #cfe6c2;
    color: #2f6b1f;
}

.hpa-notice--error {
    background: #fdecea;
    border: 1px solid #f3c6bf;
    color: #a3271a;
}

.hpa-notice ul {
    margin: 0;
    padding-left: 18px;
}

/* ----- Bandeau compte en attente ----- */

.hpa-banner {
    font-family: "Raleway", sans-serif;
    background: #e8f3fb;
    border: 1px solid #2787C9;
    color: #1F2626;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 0 0 20px;
    text-align: center;
    font-weight: 600;
}

/* ----- Liens entre formulaires ----- */

.hpa-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 14px;
    font-family: "Raleway", sans-serif;
    font-size: 0.9rem;
}

.hpa-links a {
    color: #2787C9;
    text-decoration: none;
}

.hpa-links a:hover {
    text-decoration: underline;
}
