@charset "UTF-8";
/* 두 셸 공용 부품 — 빈 안내·모달(u-modal*)·폼 칸(u-form-input)·버튼(u-btn*)·위저드 단계(u-wizard-*) · 색 = --u-* 토큰(셸마다 값이 다르다) · L2 모양은 user/user_components.css 가 덮는다 */

/* ── 빈 안내 ── */
/* 글자 크기는 부모를 따른다 */
.u-empty-inline {
    text-align: center;
    color: var(--u-ink-muted);
    padding: var(--u-sp-20);
}

/* ── 모달 ── */
/* 층 순서 = 셸 토큰 --u-modal-z(L1 9000 · L2 1000) */
.u-modal-overlay {
    display: none; position: fixed; inset: 0; background: var(--u-black-a45);
    z-index: var(--u-modal-z, 1000); align-items: center; justify-content: center;
}
.u-modal-overlay.open { display: flex; animation: u-fade-in 0.15s; }
.u-modal {
    background: var(--u-bg-card); border-radius: 12px;
    width: 90%; max-width: 480px; max-height: 90vh; max-height: 90dvh;
    display: flex; flex-direction: column;
    box-shadow: 0 8px 30px var(--u-black-a12);
    animation: u-slide-up 0.2s;
}
@keyframes u-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes u-slide-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.u-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--u-sp-16) var(--u-sp-20); border-bottom: 1px solid var(--u-border);
    flex-shrink: 0;
}
.u-modal-close {
    width: 28px; height: 28px; border: none; background: none;
    font-size: 1.125rem; color: var(--u-ink-light); cursor: pointer; border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
}
.u-modal-close:hover { background: var(--u-bg); }

/* ── 폼 칸 ── */
/* 글자 크기는 rem — 셸 root 글자 크기를 따른다 */
.u-form-input {
    width: 100%; height: 36px; padding: 0 10px;
    border: 1px solid var(--u-border-strong); border-radius: 6px;
    font-family: inherit; font-size: 0.8125rem;
    color: var(--u-ink-strong); background: var(--u-bg-card);
    transition: border-color 0.15s;
}
.u-form-input:focus { outline: none; border-color: var(--u-accent); box-shadow: 0 0 0 2px var(--u-accent-light); }

/* ── 버튼 ── */
/* 클래스 없는 .u-btn = 중간 크기 · -sm/-lg 가 덮는다 */
.u-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 5px; border: none; border-radius: 6px;
    height: 34px; padding: 0 14px; font-size: 0.75rem; font-weight: var(--u-fw-semibold);
    cursor: pointer; transition: all 0.15s; text-decoration: none;
    line-height: 1; white-space: nowrap; letter-spacing: -0.2px;
}
/* 비활성 = 색은 그대로 흐리게만 · hover 는 pointer-events 로 막는다(배경을 덮으면 primary 가 흰 바탕 흰 글자가 된다) */
.u-btn:disabled, .u-btn[disabled] { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.u-btn-sm { height: 28px; padding: 0 10px; font-size: 0.6875rem; }
.u-btn-lg { height: 40px; padding: 0 var(--u-sp-20); font-size: 0.8125rem; }

.u-btn-primary { background: var(--u-accent); color: var(--u-on-accent); }
.u-btn-primary:hover { background: var(--u-accent-hover); }
.u-btn-secondary { background: var(--u-bg-card); color: var(--u-ink-strong); border: 1px solid var(--u-border-strong); }
.u-btn-secondary:hover { background: var(--u-bg-gray); border-color: var(--u-ink-muted); }
.u-btn-danger { background: var(--u-bg-card); color: var(--u-danger); border: 1px solid var(--u-danger-border); }
.u-btn-danger:hover { background: var(--u-danger-soft); }
.u-btn-success { background: var(--u-success); color: var(--u-on-accent); }   /* 파일 반출(엑셀 다운로드) */
.u-btn-success:hover { background: var(--u-success-strong); }

/* ── 위저드 ── */
/* 마크업 u-wizard-* = 엔진 RN.wizardTabs(user_wizard_tabs.js) 계약 · 패널 표시 토글만 여기 · L2 모양 = user/user_components.css .sdo-steps */
.u-wizard-step { display: flex; flex-direction: column; align-items: center; gap: var(--u-sp-4); flex-shrink: 0; }
.u-wizard-line { flex: 1; height: 2px; background: var(--u-border); margin: 0 var(--u-sp-4); margin-bottom: 18px; transition: background 0.2s; }
.u-wizard-line.completed { background: var(--u-accent); }
.u-wizard-panel { display: none; padding: 0 var(--u-sp-4); }
.u-wizard-panel.active { display: block; }
