/* WEBHOST SOLUTIONS — Password reset flow
   Scoped to WHMCS password-reset templates. */

html.whs-password-reset-page,
html.whs-password-reset-page body,
body.whs-password-reset-page {
    background:#07111f !important;
}

body.whs-password-reset-page #main-body,
body.whs-password-reset-page #main-body > .container,
body.whs-password-reset-page #main-body > .container-fluid,
body.whs-password-reset-page .main-content,
body.whs-password-reset-page .primary-content,
body.whs-password-reset-page .content-padded {
    min-height:0 !important;
    height:auto !important;
    margin-bottom:0 !important;
    padding-bottom:0 !important;
    background:transparent !important;
}

body.whs-password-reset-page .header-lined,
body.whs-password-reset-page .sidebar {
    display:none !important;
}

body.whs-password-reset-page .primary-content,
body.whs-password-reset-page .primary-content[class*="col-"] {
    width:100% !important;
    max-width:100% !important;
    float:none !important;
}

.whs-password-reset-shell {
    width:100%;
    max-width:980px;
    margin:20px auto 26px;
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr);
    gap:18px;
    color:#dfe5f6;
}

.whs-password-reset-intro,
.whs-password-reset-card {
    border:1px solid rgba(142,154,212,.16);
    border-radius:20px;
    background:linear-gradient(145deg,#11192f,#0c1427);
    box-shadow:0 16px 38px rgba(0,0,0,.12);
}

.whs-password-reset-intro {
    padding:34px 30px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    overflow:hidden;
    background:
        radial-gradient(circle at 15% 8%,rgba(117,94,255,.22),transparent 38%),
        radial-gradient(circle at 94% 92%,rgba(162,83,255,.12),transparent 34%),
        linear-gradient(145deg,#111a32,#0b1326);
}

.whs-password-reset-brandmark {
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    margin-bottom:21px;
    border:1px solid rgba(162,145,255,.22);
    border-radius:15px;
    color:#c3c7ff;
    background:linear-gradient(135deg,rgba(93,111,255,.26),rgba(158,91,255,.18));
    font-size:19px;
}

.whs-password-reset-eyebrow,
.whs-password-reset-card-heading > span {
    display:block;
    color:#8994b6;
    font-size:9px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.14em;
}

.whs-password-reset-intro h1 {
    margin:7px 0 7px;
    color:#fff;
    font-size:28px;
    line-height:1.2;
    font-weight:800;
}

.whs-password-reset-intro > p {
    margin:0;
    color:#96a1bd;
    font-size:13px;
    line-height:1.65;
}

.whs-password-reset-benefits {
    display:grid;
    gap:10px;
    margin-top:27px;
}

.whs-password-reset-benefits > div {
    display:flex;
    align-items:center;
    gap:10px;
    min-height:42px;
    padding:10px 12px;
    border:1px solid rgba(142,154,212,.11);
    border-radius:11px;
    color:#cfd6e9;
    background:rgba(6,15,31,.28);
    font-size:11px;
    font-weight:700;
}

.whs-password-reset-benefits i {
    width:18px;
    color:#aeb5ff;
    text-align:center;
}

.whs-password-reset-card {
    padding:30px;
}

.whs-password-reset-card-heading {
    margin-bottom:22px;
}

.whs-password-reset-card-heading h2 {
    margin:6px 0 5px;
    color:#fff;
    font-size:22px;
    line-height:1.25;
    font-weight:800;
}

.whs-password-reset-card-heading p,
.whs-password-reset-copy,
.whs-password-reset-message {
    color:#8f9ab9;
    font-size:11px;
    line-height:1.6;
}

.whs-password-reset-card-heading p {
    margin:0;
}

.whs-password-reset-copy {
    margin:0 0 19px;
}

.whs-password-reset-card .alert {
    border-radius:12px;
}

.whs-password-reset-form .form-group {
    margin-bottom:16px;
}

.whs-password-reset-form label {
    margin-bottom:7px;
    color:#d9def0;
    font-size:10px;
    font-weight:800;
}

.whs-reset-input-wrap {
    position:relative;
}

.whs-reset-input-wrap > i {
    position:absolute;
    z-index:2;
    top:50%;
    left:14px;
    transform:translateY(-50%);
    color:#737f9e;
    font-size:12px;
}

.whs-password-reset-form .form-control {
    height:47px;
    padding:10px 14px 10px 39px;
    border:1px solid rgba(142,154,212,.18);
    border-radius:11px;
    color:#f4f6ff;
    background:#081225;
    box-shadow:none;
    font-size:12px;
}

.whs-password-reset-form .form-control::placeholder {
    color:#66728f;
}

.whs-password-reset-form .form-control:focus {
    border-color:rgba(157,142,255,.56);
    box-shadow:0 0 0 3px rgba(117,98,255,.10);
}

.whs-password-reset-submit,
.whs-password-reset-cancel {
    min-height:47px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:11px 15px;
    border-radius:11px;
    font-size:11px;
    font-weight:800;
}

.whs-password-reset-submit {
    width:100%;
    justify-content:space-between;
    border:1px solid rgba(152,136,255,.36);
    color:#fff;
    background:linear-gradient(135deg,#665bdf,#8750c9);
    box-shadow:0 10px 25px rgba(105,80,217,.18);
}

.whs-password-reset-submit:hover,
.whs-password-reset-submit:focus {
    color:#fff;
    border-color:rgba(196,186,255,.50);
    background:linear-gradient(135deg,#7266ec,#925ada);
}

.whs-password-reset-cancel {
    width:100%;
    border:1px solid rgba(142,154,212,.20);
    color:#cbd3e8;
    background:#111c32;
}

.whs-reset-button-row {
    display:grid;
    grid-template-columns:1fr 120px;
    gap:10px;
    margin-top:18px;
}

.whs-reset-strength .progress {
    height:7px;
    border-radius:999px;
    background:#07111f;
    box-shadow:none;
}

.whs-password-reset-captcha {
    margin:0 0 17px;
    overflow:hidden;
}

.whs-password-reset-back {
    margin-top:20px;
    padding-top:16px;
    border-top:1px solid rgba(142,154,212,.13);
}

.whs-password-reset-back a {
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#b8c0ff;
    font-size:10px;
    font-weight:800;
    text-decoration:none;
}

.whs-password-reset-back a:hover,
.whs-password-reset-back a:focus {
    color:#fff;
    text-decoration:none;
}

body.whs-password-reset-page footer {
    margin-top:0 !important;
    padding-bottom:max(18px,env(safe-area-inset-bottom));
    background-color:#07111f;
}

@media (max-width:767px) {
    .whs-password-reset-shell {
        margin:8px auto 20px;
        grid-template-columns:1fr;
        gap:11px;
    }

    .whs-password-reset-intro {
        padding:16px 17px;
        border-radius:16px;
    }

    .whs-password-reset-brandmark {
        width:40px;
        height:40px;
        margin-bottom:11px;
        border-radius:12px;
        font-size:15px;
    }

    .whs-password-reset-intro h1 {
        margin:5px 0;
        font-size:20px;
    }

    .whs-password-reset-intro > p {
        font-size:11px;
        line-height:1.45;
    }

    .whs-password-reset-benefits {
        display:none;
    }

    .whs-password-reset-card {
        padding:19px 17px;
        border-radius:16px;
    }

    .whs-password-reset-card-heading {
        margin-bottom:18px;
    }

    .whs-password-reset-card-heading h2 {
        font-size:19px;
    }

    .whs-reset-button-row {
        grid-template-columns:1fr;
    }
}
