@charset "utf-8";
/* 서비스 관리 업체 관리자 — 로그인 */

@font-face { font-family: 'Pretendard'; font-weight: 400; font-display: swap; src: url('/fonts/Pretendard-Regular.woff') format('woff'); }
@font-face { font-family: 'Pretendard'; font-weight: 500; font-display: swap; src: url('/fonts/Pretendard-Medium.woff') format('woff'); }
@font-face { font-family: 'Pretendard'; font-weight: 600; font-display: swap; src: url('/fonts/Pretendard-SemiBold.woff') format('woff'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; font-display: swap; src: url('/fonts/Pretendard-Bold.woff') format('woff'); }

:root {
    --primary: #4a6cf7;
    --primary-dark: #3555e0;
    --primary-ring: rgba(74, 108, 247, .18);
    --text: #1e2533;
    --text-sub: #4b5565;
    --muted: #8a93a3;
    --border-strong: #d3d9e3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', '맑은 고딕', sans-serif;
    font-size: 14px; color: var(--text); -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(1200px 600px at 10% -10%, #dfe6ff 0%, transparent 60%),
        radial-gradient(900px 500px at 110% 110%, #e3ecff 0%, transparent 55%),
        #f4f6fa;
}
button, input { font-family: inherit; }

.page-section { display: none; }
.page-section.active { display: flex; min-height: 100%; align-items: center; justify-content: center; padding: 24px 16px; }
.container { width: 100%; max-width: 420px; }

.card {
    background: #fff; border: 1px solid #e4e8ef; border-radius: 18px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 48px rgba(53, 85, 224, .12);
}
.login-wrapper { padding: 40px 36px 36px; }

.login-brand { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 30px; }
.brand-mark {
    width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #6a8bff 0%, #3555e0 100%); color: #fff; font-size: 24px; font-weight: 700;
    box-shadow: 0 8px 20px rgba(74, 108, 247, .35);
}
.login-title { font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -.3px; }
.login-desc { margin-top: 6px; font-size: 14px; color: var(--muted); }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--text-sub); }
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
input[type="text"], input[type="password"] {
    width: 100%; height: 48px; padding: 0 14px 0 42px; border: 1px solid var(--border-strong); border-radius: 10px;
    font-size: 15px; color: var(--text); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:hover { border-color: #b9c2d0; }
input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-ring); }
input:focus + svg, .input-icon:focus-within svg { color: var(--primary); }
input::placeholder { color: #a8b0bd; }

.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; transition: background-color .15s, transform .05s, box-shadow .15s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--primary-ring); }
.btn-login { width: 100%; height: 50px; margin-top: 10px; border-radius: 10px; font-size: 16px; font-weight: 700; }

.login-footer { margin-top: 22px; text-align: center; font-size: 12px; color: var(--muted); }

@media (max-width: 480px) {
    .login-wrapper { padding: 32px 22px 26px; }
    .login-title { font-size: 20px; }
}
