﻿:root {
    --bg: #f7f8fb;
    --card: #fff;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --brand: #2563eb;
    --brand-700: #1d4ed8;
    --focus: 0 0 0 4px rgba(37, 99, 235, .15);
    --danger: 239, 68, 68;
    --success: #10b981;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: white;
    font-family: inter, sans-serif;
}

/* Shell */
.forget-password-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px 16px 60px;
    align-content: center;
}

.forget-password-wrap {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

/* Brand */
.brand {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.brand-mark img {
    width: 150px;
    height: 90px;
    object-fit: contain;
    object-position: center;
}

.brand-word {
    font-weight: 700;
    font-size: 26px;
    letter-spacing: .2px;
}

/* Headings */
.eyebrow {
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 12px;
    color: var(--muted);
}

h1 {
    margin: 6px 0 8px;
    font-size: 28px;
    font-weight: 700;
}

.sub {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
}

/* Form */
.field {
    position: relative;
    margin-top: 12px;
}

.input {
    width: 100%;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--card);
    font-size: 14px;
    outline: 0;
    transition: .2s;
    padding: 0 12px 0 40px;
    box-sizing: border-box;
}

.input:focus {
    border-color: var(--brand);
    box-shadow: var(--focus);
}

.icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.icon svg {
    width: 18px;
    height: 18px;
}

.adornment {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.grade {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #10b981;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, .35);
}

.hint {
    font-size: 12px;
    color: #6b7280;
    padding: 12px 0;
}

.hint a,
.signin-link,
.below a {
    color: var(--brand);
    text-decoration: none;
}

.hint a:hover,
.signin-link:hover,
.below a:hover {
    text-decoration: underline;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 18px;
}

.remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    font-size: 14px;
}

.remember input {
    width: 16px;
    height: 16px;
    accent-color: var(--brand);
}

.btn-primary-wide {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: .2s;
}

.btn-primary-wide:hover {
    background: var(--brand-700);
}

.btn-primary-wide:active {
    transform: translateY(1px);
}

.below {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin-top: 14px;
}

footer.forget-password-footer {
    margin-top: 150px;
    padding-top: 24px;
    color: #6b7280;
    font-size: 12px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.text-container {
    min-height: 150px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.alert-icon {
    padding-right: 10px;
}

.alert-danger {
    background-color: rgba(var(--danger), 0.1);
    color: rgb(var(--danger));
    border: 1px solid rgb(var(--danger));
    border-radius: 10px;
    padding: 15px 20px;
}

.success {
    color: var(--success);
}

.col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.anchor-btn {
    text-decoration: none; 
    display: inline-block; 
    line-height: 44px;
}

.container-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
}

.container-text p {
    margin: 0;
}

.text-danger {
    color: rgb(var(--danger));
    font-weight: 400;
}

.small {
    font-size: 12px;
    line-height: 1.4;
    display: block;
    margin: 4px 0;
}

.gap {
    min-height: 10px;
    display: block;
}
