/* ========================================
   LMS: 오프라인 교육 상세 + 참가자 입력

   2026-11-09 대표 「UI 너무 구리니까 미니멀하고 쌈박하게 수정해줘」: 화면을 다시 꾸몄다(글자 · 기능 · 클래스 이름은 그대로).
     규칙 - 색은 먹색(#14151a) · 회색 · 흰색만 쓰고 보라(--point)는 고른 회차 · 필수 표시 · 실습 말머리에만 쓴다.
            그림자 · 그러데이션 · 제목 아이콘 · 움직이는 효과는 없앤다. 선은 1px 한 가지(#e8e9ee), 모서리는 12 · 16px 두 가지.
            칸 사이는 32px, 글자 크기는 13 · 15 · 17 · 28px 네 단만 쓴다.
======================================== */

/* ───── 페이지 배경(평평한 한 가지 색) ───── */
.od-page {
    background: #f5f5f7;
}

/* ───── 본문 상자 ───── */
.od-box {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e8e9ee;
    border-radius: 16px;
    overflow: hidden;
}

/* ───── 로딩 ───── */
.od-loading {
    padding: 96px 0;
    text-align: center;
    font-size: 15px;
    color: #8c909c;
}

/* ───── 머리(과정 정보) ───── */
.od-header {
    padding: 40px 40px 32px;
}
.od-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.6px;
    color: #14151a;
    line-height: 1.35;
    margin: 0 0 14px;
    word-break: keep-all;
}
.od-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 18px;
}
.od-meta span {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #5c606b;
}
/* 글머리 아이콘 대신 가운뎃점으로 나눈다 */
.od-meta span + span::before {
    content: '·';
    margin-right: 14px;
    color: #c6c8d0;
    font-weight: 700;
}
.od-meta span i { display: none; }
.od-desc {
    font-size: 15px;
    color: #5c606b;
    line-height: 1.75;
    margin: 0;
    word-break: keep-all;
}
.od-desc a { color: #14151a; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ───── 날짜 뱃지 ───── */
.od-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 8px;
    background: #14151a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.od-date-badge i { display: none; }

/* ───── 구획 공통 ───── */
.od-section {
    padding: 32px 40px;
    border-top: 1px solid #eceef2;
}
.od-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.3px;
    color: #14151a;
}
.od-section-title i { display: none; } /* 제목 아이콘 없음 */

/* ───── 안내 문구(상자 없이 한 줄) ───── */
.od-notice {
    margin: -6px 0 16px;
    font-size: 13px;
    font-weight: 500;
    color: #8c909c;
}
.od-notice i { display: none; }

/* ───── 교육 회차 ───── */
.od-sessions { display: grid; gap: 8px; }
.od-session {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid #e3e4ea;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #14151a;
    transition: border-color .15s ease, background-color .15s ease;
}
.od-session:hover { border-color: #c9cbd4; }
.od-session:has(input:checked) { border-color: var(--point); background: rgba(85, 58, 231, .04); }
.od-session input { width: 18px; height: 18px; accent-color: var(--point); }
.od-session em {
    margin-left: auto;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f1f2f5;
    color: #8c909c;
}
.od-session em.od-few { background: #fff6e8; color: #a45a06; }
/* 마감 회차: 흐리게 하지 않고 글자색만 낮춘다(읽을 수는 있게) */
.od-session.is-closed { cursor: not-allowed; color: #9a9ea9; background: #fafafb; border-color: #eceef2; }

/* ───── 인원 선택 ───── */
.od-qty-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.od-qty-btn {
    width: 40px;
    height: 44px;
    border: 1px solid #e3e4ea;
    border-radius: 10px;
    background: #fff;
    color: #14151a;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    transition: border-color .15s ease;
}
.od-qty-btn:hover { border-color: #14151a; }
.od-qty-input,
.od-qty-select {
    height: 44px;
    border: 1px solid #e3e4ea;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    color: #14151a;
}
.od-qty-input {
    width: 60px;
    text-align: center;
    -moz-appearance: textfield;
}
.od-qty-select { min-width: 132px; padding: 0 14px; cursor: pointer; }
.od-qty-input:focus,
.od-qty-select:focus { outline: none; border-color: #14151a; }
.od-qty-input::-webkit-outer-spin-button,
.od-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.od-qty-total {
    margin-left: auto;
    font-size: 17px;
    font-weight: 800;
    color: #14151a;
    font-variant-numeric: tabular-nums;
}

/* ───── 참가자 칸(채운 상자 대신 선으로만 나눔) ───── */
.od-participant {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #eceef2;
}
.od-participant:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.od-participant-title {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    color: #8c909c;
}

/* ───── 입력 칸 ───── */
.od-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.od-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #5c606b;
}
.od-field input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #e3e4ea;
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font);
    color: #14151a;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.od-field input:focus {
    outline: none;
    border-color: #14151a;
    box-shadow: 0 0 0 3px rgba(20, 21, 26, .07);
}
.od-field input::placeholder {
    color: #b7bac3;
    font-weight: 400;
}
.od-req {
    color: var(--point);
    font-weight: 700;
}

/* ───── 결제 ───── */
.od-pay-section {
    padding: 28px 40px 32px;
    border-top: 1px solid #e8e9ee;
    background: #fafafb;
}
.od-pay-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
}
.od-pay-total span {
    font-size: 14px;
    font-weight: 600;
    color: #5c606b;
}
.od-pay-total strong {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.8px;
    color: #14151a;
    font-variant-numeric: tabular-nums;
}
.od-pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 56px;
    padding: 0 24px;
    background: #14151a;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: background-color .15s ease;
}
.od-pay-btn:hover { background: #2c2e36; }
.od-pay-btn i { display: none; }

/* ───── 커리큘럼(2026-10-11 OC1, 2026-11-09 2열) ───── */
.od-curri .od-section-title { flex-wrap: wrap; }
.od-curri-sub { margin-left: auto; font-size: 13px; font-weight: 600; color: #8c909c; }
.od-curri-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; list-style: none; margin: 0; padding: 0; }
.od-curri-item { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid #eceef2; }
.od-curri-item:nth-child(-n+2) { border-top: 0; padding-top: 0; }
.od-curri-no {
    padding-top: 1px;
    font-size: 12px;
    font-weight: 800;
    color: #b7bac3;
    font-variant-numeric: tabular-nums;
}
.od-curri-body h4 { margin: 0 0 3px; font-size: 15px; font-weight: 700; line-height: 1.45; color: #14151a; word-break: keep-all; }
.od-curri-topics { margin: 0; font-size: 13px; line-height: 1.55; color: #6b6f7a; word-break: keep-all; }
.od-curri-out { margin: 3px 0 0; font-size: 13px; line-height: 1.55; color: #14151a; word-break: keep-all; }
.od-curri-out b { margin-right: 6px; color: var(--point); font-weight: 800; }
.od-curri-prep { margin-top: 20px; padding: 16px 18px; border: 1px solid #eceef2; border-radius: 12px; background: #fafafb; }
.od-curri-prep b { display: inline-block; margin-right: 8px; font-size: 12px; font-weight: 800; color: #8c909c; }
.od-curri-prep p { margin: 0; font-size: 13px; line-height: 1.65; color: #5c606b; word-break: keep-all; }
.od-curri-prep p + p { margin-top: 6px; }

/* ───── 반응형 ───── */
@media (max-width: 768px) {
    .od-box { border-radius: 14px; }
    .od-header { padding: 28px 20px 24px; }
    .od-title { font-size: 22px; }
    .od-section { padding: 26px 20px; }
    /* 휴대폰: 줄이 바뀌면서 가운뎃점이 줄 앞에 떨어지지 않게 세로로 쌓는다 */
    .od-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
    .od-meta span + span::before { display: none; }
    .od-pay-section { padding: 22px 20px 26px; }
    .od-field-grid { grid-template-columns: 1fr; }
    .od-pay-total strong { font-size: 24px; }
    .od-pay-btn { height: 52px; font-size: 15px; }
    .od-curri-sub { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
    .od-curri-list { grid-template-columns: minmax(0, 1fr); }
    .od-curri-item:nth-child(2) { border-top: 1px solid #eceef2; padding-top: 13px; }
}
