/* Shared registration and staff login presentation. */
.auth-page, .auth-page * { box-sizing: border-box; }
.auth-page { font-family: 'Inter', 'Noto Sans Thai', sans-serif; background: #e2e8f0; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; color: #0f172a; }
.auth-page .wrap { display: flex; width: 100%; max-width: 1140px; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,.18); min-height: 580px; margin: auto; }
.auth-page .left { flex: 1.2; position: relative; overflow: hidden; min-height: 580px; background: #0f172a; }
.auth-page .left > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.auth-page .left-overlay { position: absolute; inset: 0; background: linear-gradient(160deg,rgba(15,23,42,.3),rgba(15,23,42,.65)); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; }
.auth-page .left-overlay h2 { font-size: 20px; font-weight: 500; color: #fff; line-height: 1.5; margin: 0 0 6px; }
.auth-page .left-overlay p { font-size: 13px; color: rgba(255,255,255,.65); margin: 0; }
.auth-page .right { width: 380px; flex-shrink: 0; background: #fff; padding: 2.5rem 2.25rem; display: flex; flex-direction: column; justify-content: center; }
.auth-page .brand-row { display: flex; align-items: center; margin-bottom: 2rem; }
.auth-page .brand-row img { height: 40px; width: auto; object-fit: contain; }
.auth-page .form-title { font-size: 22px; font-weight: 600; margin: 0 0 1.75rem; }
.auth-page .field { margin-bottom: 1rem; }
.auth-page .field-label { display: block; font-size: 11px; font-weight: 600; color: #334155; margin-bottom: 5px; letter-spacing: .06em; }
.auth-page .field input { width: 100%; padding: 11px 14px; border-radius: 8px; border: 1.5px solid #94a3b8; background: #fff; color: #0f172a; font: inherit; font-size: 14px; outline: none; }
.auth-page .field input:focus { border-color: #f97316; box-shadow: 0 0 0 3px rgba(249,115,22,.12); }
.auth-page .field input::placeholder { color: #94a3b8; }
.auth-page .field-pw { position: relative; }
.auth-page .field-pw input { padding-right: 42px; }
.auth-page .eye-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #64748b; padding: 0; display: flex; align-items: center; }
.auth-page .forgot-row { text-align: right; margin: -4px 0 16px; }
.auth-page .forgot-link { font-size: 13px; color: #ea580c; text-decoration: none; }
.auth-page .btn-signin { width: 100%; padding: 13px; background: #16a34a; color: #fff; border: none; border-radius: 8px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; margin-bottom: 12px; }
.auth-page .btn-signin:hover { background: #15803d; }
.auth-page button:disabled { opacity: .6; cursor: not-allowed; }
.auth-page .divider { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.auth-page .divider::before, .auth-page .divider::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
.auth-page .divider span { font-size: 11px; color: #94a3b8; }
.auth-page .btn-google { width: 100%; padding: 11px; background: #fff; color: #1e293b; border: 1.5px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 8px; }
.auth-page .signup-row { text-align: center; margin-top: 1.25rem; font-size: 13px; color: #64748b; }
.auth-page .signup-row a, .auth-page .home-link { color: #ea580c; text-decoration: none; font-size: 13px; }
.auth-page .footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid #f1f5f9; }
.auth-page .footer-copy { font-size: 11px; color: #94a3b8; }
.auth-page .auth-error { color: #b91c1c; background: #fff1f2; border-radius: 8px; padding: 10px; margin: -12px 0 16px; font-size: 13px; }
@media (max-width: 640px) { .auth-page { padding: 16px; } .auth-page .left { display: none; } .auth-page .right { width: 100%; padding: 28px 20px; } }
