/* ==========================================================================
   Auth pages (loginregister, logincode, reauth, forgottenpassword)
   Clean card treatment over the stock contact-form styles.
   Brand navy: #1F2140
   ========================================================================== */

.auth-wrap {
    padding: 40px 0 60px;
}

.auth-card {
    background: #ffffff;
    border: 1px solid #e4e5ef;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(31, 33, 64, 0.08);
    padding: 34px 34px 30px;
}

@media (max-width: 575px) {
    .auth-card {
        padding: 24px 18px 22px;
        border-radius: 10px;
    }
}

.auth-card h1,
.auth-card h2,
.auth-card h3 {
    font-size: 26px;
    font-weight: 600;
    color: #1F2140;
    margin-bottom: 6px;
}

.auth-intro {
    color: #5a5c72;
    font-size: 15px;
    margin-bottom: 22px;
}

.auth-card label {
    font-weight: 600;
    color: #1F2140;
    font-size: 14px;
    margin-bottom: 6px;
}

.auth-card .form-control {
    height: 48px;
    border: 1px solid #cfd1e0;
    border-radius: 8px;
    font-size: 16px;
    padding: 0 14px;
    color: #1F2140;
    background: #ffffff;
    box-shadow: none;
}

.auth-card .form-control:focus {
    border-color: #1F2140;
    box-shadow: 0 0 0 3px rgba(31, 33, 64, 0.12);
    outline: none;
}

.auth-card .form-control.is-invalid {
    border-color: #c0392b;
}

.auth-card .form-group {
    margin-bottom: 20px;
}

/* --- Alert / message boxes ------------------------------------------- */

.auth-message {
    background: #fdf3f2;
    border: 1px solid #eac1bc;
    border-radius: 8px;
    color: #8c2f24;
    font-size: 14px;
    padding: 12px 14px;
    margin-bottom: 20px;
}

.auth-message p {
    margin: 0;
    color: inherit;
}

.auth-note {
    background: #f2f4fb;
    border: 1px solid #d9ddef;
    border-radius: 8px;
    color: #3c3f5c;
    font-size: 14px;
    padding: 12px 14px;
    margin-bottom: 20px;
}

/* --- Account choice option rows --------------------------------------- */

.auth-choice-title {
    font-weight: 600;
    color: #1F2140;
    font-size: 14px;
    margin-bottom: 10px;
}

.auth-option {
    border: 1px solid #cfd1e0;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.auth-option:hover {
    border-color: #9fa3c0;
}

.auth-option.selected {
    border-color: #1F2140;
    background: #f6f7fc;
    box-shadow: 0 0 0 1px #1F2140 inset;
}

.auth-option .custom-control {
    padding-left: 26px;
    min-height: 0;
}

.auth-option .custom-control-label {
    font-weight: 600;
    color: #1F2140;
    font-size: 15px;
    cursor: pointer;
}

.auth-option .custom-control-label::before,
.auth-option .custom-control-label::after {
    top: 2px;
}

.auth-option .auth-option-hint {
    color: #6a6c82;
    font-size: 13px;
    margin: 2px 0 0 26px;
}

/* Password sub-block inside the "yes" option */
.auth-password-block {
    margin: 12px 0 0 26px;
}

.auth-password-block .form-control {
    margin-bottom: 8px;
}

.auth-option.collapsed .auth-password-block {
    display: none;
}

/* --- Secondary links --------------------------------------------------- */

.auth-links {
    font-size: 14px;
    margin: 6px 0 0;
}

.auth-links a {
    color: #1F2140;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-links a:hover {
    color: #40437a;
}

.auth-links .auth-links-sep {
    color: #b4b6c8;
    margin: 0 6px;
}

/* --- Primary button ---------------------------------------------------- */

.auth-card .bluebutton {
    margin-top: 6px;
}

.auth-card .bluebutton button,
.auth-card button.btn,
.auth-card .btn.hvr-hover {
    width: 100%;
    background: #1F2140;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    height: 50px;
    line-height: 50px;
    margin: 0;
    padding: 0 16px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.auth-card .bluebutton button:hover,
.auth-card button.btn:hover,
.auth-card .btn.hvr-hover:hover {
    background: #34376b;
    color: #ffffff;
}

/* Alternative action below the button (e.g. one-time code) */
.auth-alt {
    text-align: center;
    font-size: 14px;
    color: #6a6c82;
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid #ececf3;
}

.auth-alt a {
    color: #1F2140;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-alt a:hover {
    color: #40437a;
}
