/* Standalone auth pages (forgot / reset password) — 2026 shell, Bootstrap 4–friendly */

.auth-shell-body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: "Roboto", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(160deg, #f8fafc 0%, #e2e8f0 45%, #f1f5f9 100%);
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
}

.auth-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 32px;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
}

.auth-shell__inner {
    width: 100%;
    max-width: 440px;
}

.auth-shell__brand {
    text-align: center;
    margin-bottom: 20px;
}

.auth-shell__brand img {
    max-width: 200px;
    height: auto;
}

.auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
}

.auth-card__header {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 50%, #f25c27 100%);
    color: #fff;
    padding: 22px 24px 20px;
    position: relative;
    overflow: hidden;
}

.auth-card__header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -8%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.auth-card__header-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.auth-card__header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-card__header-icon i {
    font-size: 18px;
    color: #fff;
}

.auth-card__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.auth-card__subtitle {
    margin: 6px 0 0 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.4;
}

.auth-card__body {
    padding: 24px 24px 8px;
}

.auth-card__footer {
    padding: 0 24px 20px;
}

.auth-card__body .form-group:last-child {
    margin-bottom: 0;
}

.auth-field-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 8px;
}

.auth-input {
    display: block;
    width: 100%;
    padding: 12px 14px;
    font-size: 0.9375rem;
    line-height: 1.35;
    color: #0f172a;
    background-color: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-input:focus {
    border-color: #ff6321;
    box-shadow: 0 0 0 4px rgba(255, 99, 33, 0.12);
    outline: none;
}

.auth-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff !important;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.auth-btn-primary:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.auth-btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 99, 33, 0.2), 0 6px 20px rgba(249, 115, 22, 0.45);
}

.auth-link-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ea580c;
    text-decoration: none;
    margin-top: 4px;
}

.auth-link-back:hover {
    color: #c2410c;
    text-decoration: none;
}

.auth-alert {
    border-radius: 12px;
    border: none;
    font-size: 0.9375rem;
    line-height: 1.45;
}

.auth-alert--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.auth-shell__footer-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Reset password form (shared layout): stack labels on small screens */
.auth-reset-form .auth-reset-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #334155;
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .auth-reset-form .auth-reset-label {
        text-align: right;
        padding-top: 10px;
        margin-bottom: 0;
    }
}
