/* Shared styles for forgot-password and reset-password pages (site teal). */
:root {
    --auth-primary: #008080;
    --auth-primary-dark: #034f5c;
    --auth-text: #1e293b;
    --auth-text-light: #64748b;
    --auth-border: #e2e8f0;
    --auth-error: #dc2626;
    --auth-success: #10b981;
    --auth-radius: 12px;
    --auth-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.auth-page {
    min-height: calc(100vh - 180px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 16px 60px;
    font-family: 'Poppins', sans-serif;
}
.auth-container {
    background: white;
    border-radius: var(--auth-radius);
    box-shadow: var(--auth-shadow);
    width: 100%;
    max-width: 420px;
    padding: 32px 28px;
}
.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--auth-text);
    text-align: center;
    margin: 0 0 8px;
}
.auth-subtitle {
    color: var(--auth-text-light);
    text-align: center;
    margin-bottom: 32px;
    font-size: 15px;
}
.auth-container .form-group { margin-bottom: 20px; }
.auth-container .form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--auth-text);
    margin-bottom: 8px;
}
.auth-container .input-wrapper { position: relative; }
.auth-container .form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius);
    transition: all 0.2s ease;
    background-color: #ffffff;
    box-sizing: border-box;
    font-family: inherit;
}
.auth-container .form-control:focus {
    outline: none;
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.12);
}
.auth-container .form-control.with-icon { padding-left: 40px; padding-right: 40px; }
.auth-container .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--auth-text-light);
    font-size: 16px;
}
.auth-container .right-icon {
    left: auto !important;
    right: 14px !important;
    cursor: pointer;
}
.auth-container .btn {
    width: 100%;
    padding: 14px;
    border-radius: var(--auth-radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}
.auth-container .btn-primary {
    background: linear-gradient(165deg, #008181, #006b6b);
    color: white;
}
.auth-container .btn-primary:hover { background: linear-gradient(165deg, #006b6b, #034f5c); }
.auth-container .btn-primary:disabled { background: #cbd5e1; cursor: not-allowed; }
.auth-container .spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: authspin 1s ease-in-out infinite;
}
@keyframes authspin { to { transform: rotate(360deg); } }
.auth-container .error-message {
    color: var(--auth-error);
    font-size: 13px;
    margin-top: 6px;
    display: none;
}
.auth-container .success-message {
    color: var(--auth-success);
    font-size: 13px;
    margin-top: 6px;
    display: none;
}
.auth-container .requirements {
    font-size: 12px;
    color: var(--auth-text-light);
    margin-top: 8px;
}
.auth-container .requirement {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}
.auth-container .requirement.valid { color: var(--auth-success); }
.back-to-login {
    text-align: center;
    margin-top: 24px;
}
.back-to-login a {
    color: var(--auth-text-light);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.back-to-login a:hover { color: var(--auth-primary); }
