/* assets/css/login.css */
body.login-page {
    background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 50%, #f0fdf4 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrap { width: 100%; max-width: 420px; padding: 20px; }

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo-icon {
    width: 60px; height: 60px;
    background: var(--primary);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin: 0 auto 14px;
    box-shadow: 0 8px 24px rgba(79,70,229,0.25);
}

.login-logo-name { font-size: 24px; font-weight: 700; color: var(--text1); }
.login-logo-sub  { font-size: 13px; color: var(--text3); margin-top: 4px; }

.login-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.login-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text1);
    margin-bottom: 24px;
}

.alert {
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-error   { background: var(--danger-light);  color: var(--danger);  border: 1px solid #fecaca; }
.alert-warning { background: var(--warning-light); color: var(--warning); border: 1px solid #fde68a; }

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: var(--text3);
}

/* ── OTP 화면 ── */
.otp-icon {
    font-size: 40px;
    text-align: center;
    margin-bottom: 8px;
}

.otp-desc {
    font-size: 13px;
    color: var(--text2);
    text-align: center;
    line-height: 1.7;
    margin-bottom: 22px;
}

.otp-input {
    font-size: 28px !important;
    font-weight: 700 !important;
    letter-spacing: 10px !important;
    text-align: center !important;
    padding: 14px !important;
}

.otp-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: var(--text3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.otp-timer {
    font-size: 12px;
    font-weight: 600;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    text-decoration: underline;
}

.btn-link:disabled {
    color: var(--text3);
    cursor: not-allowed;
    text-decoration: none;
}

/* ── Extracted inline styles ────────────────────────── */
.login-btn-mt { margin-top:8px; }
