.seg-login2-page { min-height: 100vh; background: #f5f5f5; }
.seg-login2-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.seg-login2-panel { width: 100%; max-width: 520px; background: #fff; border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.08); overflow: hidden; }
.seg-login2-header { padding: 20px 24px 12px; text-align: left; border-bottom: 1px solid #eee; background: #fafafa; }
.seg-login2-header img { max-width: 100%; height: auto; display: block; }
.seg-login2-body { padding: 20px 24px 24px; }
.seg-login2-body legend { margin-bottom: 8px; border: none; font-size: 18px; }
.seg-login2-footer { padding: 12px 16px; font-size: 12px; border-top: 1px solid #eee; background: #fafafa; text-align: center; color: #777; line-height: 1.6; }
.seg-login2-footer-brand { color: #555; font-weight: 600; }
.seg-login2-footer a { color: #337ab7; }
.seg-auth-hint { margin: 0 0 16px; color: #666; font-size: 13px; }
.seg-auth-actions { margin-top: 16px; text-align: center; }
.seg-step2-user { margin: 0 0 12px; font-size: 14px; }
.seg-step2-user strong { display: inline-block; margin: 0 4px; word-break: break-all; }
.seg-change-user { padding: 0 4px; vertical-align: baseline; }
.seg-auth-divider { display: flex; align-items: center; margin: 20px 0; color: #999; font-size: 12px; text-transform: uppercase; }
.seg-auth-divider::before, .seg-auth-divider::after { content: ''; flex: 1; border-bottom: 1px solid #e5e5e5; }
.seg-auth-divider span { padding: 0 12px; }
.seg-passkey-hint { margin: 10px 0 0; color: #888; font-size: 12px; line-height: 1.4; }
.seg-passkey-block { margin-bottom: 0; }
#segLoginAlert { margin-bottom: 12px; }
.seg-strength-bar { height: 6px; margin-top: 8px; margin-bottom: 4px; }
.seg-password-hint { display: block; margin-top: 4px; color: #888; font-size: 12px; }
.seg-sso-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.seg-btn-sso {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    padding: 12px 16px;
}
.seg-btn-google { background: #fff; border: 1px solid #dadce0; color: #3c4043; }
.seg-btn-google:hover,
.seg-btn-google:focus { background: #f8f9fa; border-color: #dadce0; color: #202124; }
.seg-btn-microsoft { background: #2f2f2f; border: 1px solid #2f2f2f; color: #fff; }
.seg-btn-microsoft:hover,
.seg-btn-microsoft:focus { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.seg-sso-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}
.seg-btn-google .seg-sso-icon { color: #4285f4; background: #fff; }
.seg-btn-microsoft .seg-sso-icon { color: #fff; background: transparent; }
