:root {
    --reset-bg: #f7f9fc;
    --reset-surface: rgba(255, 255, 255, 0.9);
    --reset-surface-strong: #ffffff;
    --reset-border: rgba(148, 163, 184, 0.2);
    --reset-border-strong: rgba(59, 130, 246, 0.28);
    --reset-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    --reset-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
    --reset-text: #0f172a;
    --reset-muted: #64748b;
    --reset-muted-2: #94a3b8;
    --reset-blue: #2563eb;
    --reset-blue-2: #4f8dfc;
    --reset-blue-3: #1d4ed8;
    --reset-emerald: #10b981;
    --reset-emerald-soft: rgba(16, 185, 129, 0.12);
    --reset-amber: #f59e0b;
    --reset-amber-soft: rgba(245, 158, 11, 0.12);
    --reset-red: #dc2626;
    --reset-red-soft: rgba(220, 38, 38, 0.12);
}

body {
    background: var(--reset-bg) !important;
    color: var(--reset-text);
}

.navbar,
footer {
    display: none !important;
}

main.container {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh !important;
}

.password-reset-page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 64px;
    background:
        radial-gradient(circle at 14% 18%, rgba(37, 99, 235, 0.12), transparent 28%),
        radial-gradient(circle at 84% 22%, rgba(79, 141, 252, 0.10), transparent 24%),
        radial-gradient(circle at 52% 88%, rgba(16, 185, 129, 0.08), transparent 26%),
        linear-gradient(180deg, #f8fbff 0%, #f7f9fc 100%);
}

.password-reset-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.85;
    pointer-events: none;
}

.password-reset-orb.orb-1 {
    width: 140px;
    height: 140px;
    top: 8%;
    left: 8%;
    background: rgba(79, 141, 252, 0.16);
}

.password-reset-orb.orb-2 {
    width: 110px;
    height: 110px;
    top: 64%;
    right: 10%;
    background: rgba(16, 185, 129, 0.14);
}

.password-reset-orb.orb-3 {
    width: 80px;
    height: 80px;
    bottom: 12%;
    left: 18%;
    background: rgba(245, 158, 11, 0.10);
}

.password-reset-shell {
    position: relative;
    z-index: 2;
    width: min(1140px, 100%);
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.05fr);
    gap: 28px;
    align-items: stretch;
}

.password-reset-hero,
.password-reset-card,
.password-reset-result-card {
    border: 1px solid var(--reset-border);
    box-shadow: var(--reset-shadow);
    backdrop-filter: blur(18px);
}

.password-reset-hero {
    background: linear-gradient(160deg, #0f172a 0%, #13213d 56%, #1d4ed8 100%);
    color: #f8fafc;
    border-radius: 30px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    overflow: hidden;
    position: relative;
}

.password-reset-hero::before,
.password-reset-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.password-reset-hero::before {
    width: 220px;
    height: 220px;
    top: -70px;
    right: -70px;
}

.password-reset-hero::after {
    width: 160px;
    height: 160px;
    bottom: -60px;
    left: -50px;
}

.password-reset-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.password-reset-brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.password-reset-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.password-reset-brand-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.password-reset-brand-subtitle {
    font-size: 13px;
    color: rgba(248, 250, 252, 0.78);
}

.password-reset-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(248, 250, 252, 0.96);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.password-reset-hero h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.password-reset-hero p {
    margin: 18px 0 0;
    max-width: 34rem;
    color: rgba(248, 250, 252, 0.84);
    font-size: 16px;
    line-height: 1.7;
}

.password-reset-feature-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 12px;
}

.password-reset-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: rgba(248, 250, 252, 0.88);
}

.password-reset-feature-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.password-reset-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px;
}

.password-reset-metric {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px;
}

.password-reset-metric strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.password-reset-metric span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: rgba(248, 250, 252, 0.72);
    line-height: 1.4;
}

.password-reset-card {
    background: var(--reset-surface);
    border-radius: 30px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.password-reset-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.password-reset-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(79, 141, 252, 0.16));
    color: var(--reset-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.password-reset-card-header h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--reset-text);
}

.password-reset-card-header p {
    margin: 6px 0 0;
    color: var(--reset-muted);
    line-height: 1.6;
    font-size: 15px;
}

.password-reset-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(220, 38, 38, 0.18);
    background: var(--reset-red-soft);
    color: #991b1b;
}

.password-reset-alert i {
    font-size: 18px;
    margin-top: 1px;
}

.password-reset-alert strong {
    display: block;
    margin-bottom: 2px;
}

.password-reset-alert p {
    margin: 0;
    line-height: 1.6;
}

.password-reset-form {
    display: grid;
    gap: 18px;
}

.password-reset-form-group {
    display: grid;
    gap: 8px;
}

.password-reset-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--reset-muted);
}

.password-reset-field {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: var(--reset-surface-strong);
    box-shadow: var(--reset-shadow-soft);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.password-reset-field:focus-within {
    border-color: var(--reset-border-strong);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
}

.password-reset-field-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--reset-muted-2);
    font-size: 18px;
}

.password-reset-input {
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
    padding: 18px 20px 18px 48px;
    color: var(--reset-text);
    font-size: 16px;
    line-height: 1.4;
}

.password-reset-input::placeholder {
    color: #94a3b8;
}

.password-reset-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--reset-muted-2);
    padding: 8px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.password-reset-toggle:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--reset-blue);
}

.password-reset-help {
    color: var(--reset-muted);
    font-size: 13px;
    line-height: 1.55;
}

.password-reset-help a {
    color: var(--reset-blue);
    text-decoration: none;
    font-weight: 600;
}

.password-reset-help a:hover {
    text-decoration: underline;
}

.password-reset-errors {
    border-radius: 16px;
    border: 1px solid rgba(220, 38, 38, 0.18);
    background: rgba(254, 226, 226, 0.9);
    color: #991b1b;
    padding: 14px 16px;
    line-height: 1.6;
    font-size: 14px;
}

.password-reset-errors ul {
    margin: 0;
    padding-left: 18px;
}

.password-reset-helptext {
    margin: 0;
    color: var(--reset-muted);
    font-size: 13px;
    line-height: 1.55;
}

.password-reset-button {
    width: 100%;
    border: 0;
    border-radius: 18px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--reset-blue-2), var(--reset-blue));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.password-reset-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(37, 99, 235, 0.30);
}

.password-reset-footer {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.password-reset-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--reset-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.password-reset-back-link:hover {
    color: var(--reset-blue);
}

.password-reset-note {
    font-size: 13px;
    color: var(--reset-muted);
    line-height: 1.55;
}

.password-reset-result-card {
    width: min(620px, 100%);
    background: var(--reset-surface);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
}

.password-reset-result-icon {
    width: 88px;
    height: 88px;
    border-radius: 28px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.password-reset-result-icon.success {
    background: var(--reset-emerald-soft);
    color: var(--reset-emerald);
}

.password-reset-result-icon.info {
    background: rgba(37, 99, 235, 0.12);
    color: var(--reset-blue);
}

.password-reset-result-card h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.password-reset-result-card p {
    margin: 14px 0 0;
    color: var(--reset-muted);
    font-size: 16px;
    line-height: 1.7;
}

.password-reset-result-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.password-reset-result-button,
.password-reset-result-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
    padding: 14px 22px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}

.password-reset-result-button {
    background: linear-gradient(135deg, var(--reset-blue-2), var(--reset-blue));
    color: #fff;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.24);
}

.password-reset-result-button:hover {
    color: #fff;
}

.password-reset-result-link {
    background: rgba(148, 163, 184, 0.10);
    color: var(--reset-text);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

@media (max-width: 991px) {
    .password-reset-shell {
        grid-template-columns: 1fr;
    }

    .password-reset-hero {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .password-reset-page {
        padding: 24px 16px 40px;
    }

    .password-reset-hero,
    .password-reset-card,
    .password-reset-result-card {
        padding: 24px;
        border-radius: 24px;
    }

    .password-reset-card-header {
        align-items: flex-start;
    }

    .password-reset-hero-metrics {
        grid-template-columns: 1fr;
    }

    .password-reset-result-button,
    .password-reset-result-link {
        width: 100%;
        min-width: 0;
    }
}
