/* Auth.css — 로그인 페이지 전용 스타일 */

body.auth-body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e3a5f 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-auth {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.page-auth .auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(15,23,42,0.40);
}

.page-auth .auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.page-auth .auth-logo i {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 10px;
    display: block;
}

.page-auth .auth-logo h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.page-auth .auth-logo p {
    font-size: 0.85rem;
    color: #64748b;
}

.page-auth .alert-error {
    background: #fde8e8;
    border: 1px solid #f5c0c0;
    border-radius: 8px;
    padding: 10px 14px;
    color: #a83030;
    font-size: 0.85rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-auth .btn-block {
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 0.95rem;
    margin-top: 4px;
}

.page-auth .auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: #94a3b8;
    font-size: 0.8rem;
}

.page-auth .auth-divider::before,
.page-auth .auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 1px;
    background: #e2e8f0;
}

.page-auth .auth-divider::before { left: 0; width: 35%; }
.page-auth .auth-divider::after  { right: 0; width: 35%; }

/* ---- 로그인 탭 ---- */
.page-auth .login-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 24px;
    gap: 4px;
}

.page-auth .login-tab {
    flex: 1;
    padding: 8px 0;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.page-auth .login-tab.active {
    background: #fff;
    color: #1d4ed8;
    box-shadow: 0 1px 6px rgba(59,130,246,0.15);
}

.page-auth .login-tab-panel {
    display: none;
}

.page-auth .login-tab-panel.active {
    display: block;
}

.page-auth .auth-sso-notice {
    background: linear-gradient(135deg, #f0f9ff, #eff6ff);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.page-auth .auth-sso-notice .sso-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-auth .auth-sso-notice .sso-icon i {
    color: #fff;
    font-size: 1rem;
}

.page-auth .auth-sso-notice .sso-text {
    font-size: 0.85rem;
    color: #1e3a5f;
    line-height: 1.6;
}

.page-auth .auth-sso-notice .sso-text strong {
    color: #1d4ed8;
}

.page-auth .auth-sso-notice .sso-text span {
    font-weight: 700;
    color: #1e40af;
}

.page-auth .auth-sso-notice .sso-sub {
    margin-top: 6px;
    font-size: 0.78rem;
    color: #60a5fa;
    opacity: 0.85;
}

.page-auth .auth-link-small {
    font-size: 0.82rem;
    color: #64748b;
    text-decoration: none;
}

.page-auth .auth-link-small:hover {
    color: #2563eb;
    text-decoration: underline;
}

.page-auth .alert-success {
    background: #edfaf4;
    border: 1px solid #b0e8ce;
    border-radius: 8px;
    padding: 10px 14px;
    color: #1e7a50;
    font-size: 0.85rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
