* { box-sizing: border-box; }
body { margin: 0; background: #f8fafc; color: #172b45; font-family: 'Segoe UI', sans-serif; }
#login-network { position: fixed; inset: 0; width: 100%; height: 100%; }
.preview-shell { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 32px 20px; pointer-events: none; }
.preview-card { width: 100%; max-width: 400px; padding: 36px; border: 1px solid #fff; border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: 0 24px 80px #17395c18; backdrop-filter: blur(16px); pointer-events: auto; }
.preview-badge { display: inline-block; padding: 6px 9px; border-radius: 6px; background: #eaf4fc; color: #23608c; font-size: 10px; letter-spacing: 1.3px; font-weight: 700; }
.preview-logo { display: block; width: 128px; max-height: 80px; object-fit: contain; margin: 24px 0; }
h1 { font-size: 25px; letter-spacing: -.7px; margin: 0 0 8px; }
.preview-intro { color: #6a7a8d; font-size: 14px; margin: 0 0 28px; }
.login-errors { margin-bottom: 20px; padding: 12px; border-radius: 8px; background: #fff1f2; color: #9f1239; font-size: 13px; }
.login-errors ul { margin: 0; padding-left: 18px; }
.validation-summary-valid { display: none; }
.preview-field { margin-bottom: 20px; }
.preview-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.preview-field input { width: 100%; border: 1px solid #d9e2ec; background: #fff; border-radius: 9px; padding: 13px 14px; font: inherit; }
.preview-field input:focus { outline: 3px solid #d5eefd; border-color: #1685be; }
.preview-submit { display: flex; justify-content: space-between; width: 100%; border: 0; border-radius: 9px; background: #0766a5; color: #fff; padding: 14px 16px; font: inherit; font-weight: 600; cursor: pointer; }
.preview-submit:hover { background: #045284; }
a { color: #0766a5; text-decoration: none; }
a:hover { text-decoration: underline; }
.preview-forgot { display: block; text-align: center; font-size: 13px; margin-top: 20px; }
.preview-footer { display: grid; gap: 10px; border-top: 1px solid #eaf0f5; margin-top: 28px; padding-top: 20px; text-align: center; font-size: 11px; color: #7c8998; }
@media (max-width: 480px) { .preview-card { padding: 28px 24px; } }
@media (prefers-reduced-motion: reduce) { #login-network { opacity: .45; } }
