/* =========================================================
   CNCTASPHR PASSWORD RESET PAGE
   Uses the shared brand-only header and shared site footer.
========================================================= */

:root {
    --cnctasphr-reset-blue: #0866ff;
    --cnctasphr-reset-blue-light: #32abef;
    --cnctasphr-reset-ink: #0f172a;
    --cnctasphr-reset-muted: #64748b;
    --cnctasphr-reset-surface: #ffffff;
    --cnctasphr-reset-line:
        rgba(15, 23, 42, 0.10);
    --cnctasphr-reset-shadow:
        0 20px 55px rgba(15, 23, 42, 0.16);
}

body.cnctasphr-password-reset-body {
    min-height: 100vh;
    color: var(--cnctasphr-reset-ink);
    background:
        linear-gradient(
            rgba(238, 242, 247, 0.48),
            rgba(238, 242, 247, 0.48)
        ),
        url("/assets/brand/body-bg-cnctasphr.png")
        center top / cover fixed no-repeat;
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
}

body.cnctasphr-password-reset-body
> main.site-content.cnctasphr-password-reset-content {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* =========================================================
   PAGE LAYOUT
========================================================= */

.cnctasphr-password-reset-main {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    width: min(1380px, calc(100% - 36px));
    min-height: calc(100vh - 110px);
    margin: 0 auto;
    padding: 42px 18px;
}

/* =========================================================
   RESET CARD
========================================================= */

.cnctasphr-password-reset-card {
    width: min(100%, 520px);
    padding: 42px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 26px;
    box-shadow: var(--cnctasphr-reset-shadow);
    backdrop-filter: blur(20px);
}

.cnctasphr-password-reset-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            var(--cnctasphr-reset-blue-light),
            var(--cnctasphr-reset-blue)
        );
    border-radius: 19px 24px 18px 23px;
    box-shadow:
        6px 6px 0 rgba(8, 102, 255, 0.16);
    font-size: 1.45rem;
}

.cnctasphr-password-reset-heading {
    margin-bottom: 24px;
    text-align: center;
}

.cnctasphr-password-reset-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--cnctasphr-reset-blue);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.cnctasphr-password-reset-heading h1 {
    margin: 0;
    color: var(--cnctasphr-reset-ink);
    font-size: clamp(1.9rem, 5vw, 2.35rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.cnctasphr-password-reset-heading p {
    margin: 10px auto 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =========================================================
   MESSAGES
========================================================= */

.cnctasphr-password-reset-message {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 18px;
    padding: 12px 13px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 750;
}

.cnctasphr-password-reset-error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.cnctasphr-password-reset-success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

/* =========================================================
   FORM
========================================================= */

.cnctasphr-password-reset-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cnctasphr-password-reset-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.cnctasphr-password-reset-field label {
    color: var(--cnctasphr-reset-ink);
    font-size: 0.82rem;
    font-weight: 850;
}

.cnctasphr-password-reset-input {
    position: relative;
}

.cnctasphr-password-reset-input i {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 1;
    color: #8296c9;
    transform: translateY(-50%);
    pointer-events: none;
}

.cnctasphr-password-reset-input input {
    display: block;
    width: 100%;
    min-height: 49px;
    margin: 0;
    padding: 12px 14px 12px 42px;
    color: var(--cnctasphr-reset-ink);
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 13px;
    outline: none;
    box-sizing: border-box;
    font: inherit;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease;
}

.cnctasphr-password-reset-input input:focus {
    background: #ffffff;
    border-color: var(--cnctasphr-reset-blue);
    box-shadow:
        0 0 0 4px rgba(8, 102, 255, 0.12);
}

.cnctasphr-password-reset-input input::placeholder {
    color: #94a3b8;
}

/* =========================================================
   BUTTONS
========================================================= */

.cnctasphr-password-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 16px;
    color: #334155;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    font-size: 0.84rem;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition:
        color 0.16s ease,
        background 0.16s ease,
        border-color 0.16s ease,
        transform 0.16s ease,
        box-shadow 0.16s ease;
}

.cnctasphr-password-reset-btn:hover {
    color: #111827;
    background: #f8fafc;
    border-color: #94a3b8;
}

.cnctasphr-password-reset-btn-primary {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--cnctasphr-reset-blue),
            #2563eb
        );
    border-color: var(--cnctasphr-reset-blue);
    box-shadow:
        0 10px 24px rgba(8, 102, 255, 0.22);
}

.cnctasphr-password-reset-btn-primary:hover {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #075de7,
            #1d4ed8
        );
    border-color: #075de7;
    transform: translateY(-1px);
    box-shadow:
        0 14px 28px rgba(8, 102, 255, 0.28);
}

.cnctasphr-password-reset-back {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #dbe3ee;
}

.cnctasphr-password-reset-back
.cnctasphr-password-reset-btn {
    width: 100%;
    box-sizing: border-box;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {
    .cnctasphr-password-reset-main {
        min-height: calc(100vh - 94px);
        padding: 24px 10px 38px;
    }

    .cnctasphr-password-reset-card {
        padding: 30px 24px;
        border-radius: 22px;
    }
}

@media (max-width: 480px) {
    .cnctasphr-password-reset-card {
        padding: 26px 18px;
    }

    .cnctasphr-password-reset-heading h1 {
        font-size: 1.8rem;
    }
}