/* ==========================================================
   TRACKLY forgot password page
   Two views in one file: the email form (default) and "Check your email".
   Until JavaScript is added, forgot-password.html#sent shows the second view.
   The split layout and green panel are in auth.css.
   ========================================================== */

/* "Check your email" view is hidden until #sent is in the address bar.
   It sits before the form in the HTML so the last rule can hide the form. */
#sent {
    display: none;
}

#sent:target {
    display: flex;
}

#sent:target~#request {
    display: none;
}

/* ---------- Check your email view ---------- */
.sent {
    align-items: center;
    gap: 20px;
    text-align: center;
}

.sent-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-icon-circle);
    color: var(--color-brand-dark);
}

.sent-icon svg {
    width: 26px;
    height: 26px;
}

.sent-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.sent-text h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.sent-line {
    font-size: 12px;
    color: var(--color-muted);
}

.sent-email {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-heading);
    overflow-wrap: anywhere;
}

.sent-help {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--color-muted);
}

.sent .btn {
    width: 100%;
}

.sent-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--color-muted);
}

.sent-note svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}