/* Sign-in pages, ported from OES3 login.cfm's inline styles */
:root {
    --oes-primary: #3b82f6;
    --oes-primary-dark: #2563eb;
    --oes-text: #1e293b;
    --oes-text-muted: #64748b;
}
* { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }

.auth-body {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
}
.login-wrapper { width: 100%; max-width: 440px; padding: 2rem; }
.login-logo { text-align: center; margin-bottom: 2rem; }
.login-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 14px; margin-bottom: 1rem;
    background: var(--oes-primary); color: #fff; font-size: 2rem;
}
.login-logo h1 { color: #fff; font-size: 1.5rem; font-weight: 600; margin: 0; }
.login-logo p { color: rgba(255,255,255,0.6); font-size: 0.875rem; margin: 0.25rem 0 0; }
.login-card { background: #fff; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); padding: 2.5rem; }
.login-card h4 { font-size: 1.25rem; font-weight: 600; color: var(--oes-text); margin-bottom: 0.25rem; }
.login-card .subtitle { color: var(--oes-text-muted); font-size: 0.875rem; margin-bottom: 1.75rem; }
.form-label { font-weight: 500; font-size: 0.8125rem; color: var(--oes-text); margin-bottom: 0.375rem; }
.form-control {
    border: 1.5px solid #e2e8f0; border-radius: 8px; padding: 0.625rem 0.875rem;
    font-size: 0.9375rem; color: var(--oes-text); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { border-color: var(--oes-primary); box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }
.form-control::placeholder { color: #94a3b8; }
.input-group-text {
    background: #f8fafc; border: 1.5px solid #e2e8f0; border-right: none;
    border-radius: 8px 0 0 8px; color: var(--oes-text-muted);
}
.input-group .form-control { border-left: none; border-radius: 0 8px 8px 0; }
.input-group:focus-within .input-group-text { border-color: var(--oes-primary); }
.btn-login {
    background: var(--oes-primary); border: none; border-radius: 8px; padding: 0.7rem;
    font-size: 0.9375rem; font-weight: 600; color: #fff; width: 100%;
    transition: background 0.2s, transform 0.1s;
}
.btn-login:hover { background: var(--oes-primary-dark); color: #fff; }
.btn-login:active { transform: scale(0.985); }
.forgot-link { color: var(--oes-text-muted); font-size: 0.8125rem; text-decoration: none; transition: color 0.2s; }
.forgot-link:hover { color: var(--oes-primary); }
.remember-label { font-size: 0.8125rem; color: var(--oes-text-muted); }
.login-footer { text-align: center; margin-top: 1.5rem; color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.alert { border-radius: 8px; font-size: 0.875rem; border: none; }

/* Tenant picker */
.tenant-choice {
    display: flex; align-items: center; gap: 0.75rem; width: 100%;
    padding: 0.85rem 1rem; border: 1.5px solid #e2e8f0; border-radius: 10px;
    background: #fff; color: var(--oes-text); font-weight: 500; text-align: left;
    transition: border-color 0.2s, background 0.2s;
}
.tenant-choice:hover { border-color: var(--oes-primary); background: #eff6ff; }
.tenant-choice > i:first-child { color: var(--oes-primary); font-size: 1.25rem; }
.tenant-choice.last { border-color: #93bbfd; }
.tenant-last {
    font-size: 0.7rem; font-weight: 600; color: var(--oes-primary);
    background: #eff6ff; border-radius: 999px; padding: 0.1rem 0.5rem;
}
