/* Account/ForgotPassword.cshtml dosyasından taşındı (satır içi blok). */
* { box-sizing: border-box; }
html {
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
}
body { 
    background-color: #f8fafc !important;
    background-image: url('/hkmo/background.png') !important; 
    background-repeat: no-repeat !important; 
    background-position: center center !important; 
    background-attachment: fixed !important; 
    background-size: cover !important; 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
}
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
    .form-group input, input, select, textarea { font-size: 16px !important; }
}
@media (max-width: 768px) {
    body { background-attachment: scroll !important; }
}
.auth-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.auth-card { width: 380px; max-width: 95%; border: 1px solid rgba(226, 232, 240, 0.8); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(8px); }
.auth-body { padding: 1.5rem; }

.brand-header { text-align: center; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: center; align-items: center; gap: 0.75rem; }
.brand-header img { height: 35px; max-height: 40px; width: auto; object-fit: contain; }
.brand { font-weight: 700; letter-spacing: .4px; color: #1f295d; white-space: nowrap; font-size: 1.25rem; }
.brand .gis { color: #ED1C24; }
.subtitle { text-align: center; font-size: 0.8125rem; color: #64748b; margin-bottom: 1.25rem; }

.form-group { margin-bottom: 0.875rem; }
.form-group label { font-size: 0.75rem; color: #64748b; margin-bottom: 0.25rem; display: block; font-weight: 500; }
.form-group input { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 0.8125rem; transition: all 0.15s; }
.form-group input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.1); }
.form-group input::placeholder { color: #94a3b8; }
.form-group input:disabled, .form-group input:read-only { background: #f1f5f9; color: #64748b; cursor: not-allowed; }

.btn-submit { width: 100%; background: #1e293b; color: #fff; border: none; padding: 0.625rem 1rem; border-radius: 8px; font-size: 0.8125rem; font-weight: 500; cursor: pointer; transition: background 0.15s; margin-top: 0.5rem; }
.btn-submit:hover:not(:disabled) { background: #334155; }
.btn-submit:disabled { background: #94a3b8; cursor: not-allowed; }

.divider { height: 1px; background: #f1f5f9; margin: 1.25rem 0; }
.footer-text { text-align: center; font-size: 0.75rem; color: #94a3b8; }
.footer-text a { color: #3b82f6; text-decoration: none; font-weight: 500; }
.footer-text a:hover { text-decoration: underline; }

.alert-msg { padding: 0.5rem 0.75rem; border-radius: 8px; font-size: 0.75rem; margin-bottom: 0.875rem; }
.alert-msg:empty { display: none !important; }
.alert-msg.validation-summary-valid { display: none !important; }
.alert-msg ul { margin: 0; padding-left: 1.25rem; list-style-type: disc; }
.alert-msg ul li { margin-bottom: 0.25rem; }
.alert-error { background: #fef2f2; color: #dc2626; }
.alert-info { background: #eff6ff; color: #3b82f6; }
.alert-success { background: #f0fdf4; color: #16a34a; }

.validation-error { color: #dc2626; font-size: 0.6875rem; margin-top: 0.25rem; display: block; }

/* Cooldown Timer */
.cooldown-box { background: #fffbeb; border: 1px solid #fbbf24; border-radius: 8px; padding: 0.75rem; margin-bottom: 0.875rem; text-align: center; }
.cooldown-box .timer { font-size: 1.25rem; font-weight: 600; color: #d97706; font-variant-numeric: tabular-nums; }
.cooldown-box .timer-text { font-size: 0.6875rem; color: #92400e; margin-top: 0.25rem; }

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
    .form-group input, input, select, textarea { font-size: 16px !important; }
}
@media (max-width: 768px) {
    .auth-container {
        min-height: 100vh;
        min-height: 100svh;
        padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
        align-items: flex-start;
    }
    .auth-card { width: 100%; max-width: 100%; border-radius: 16px; }
    .auth-body { padding: 1.25rem; }
    .form-group input { padding: 0.625rem 0.875rem; font-size: 16px !important; }
    .btn-submit { padding: 0.75rem 1rem; }
}

