    :root {
      --primary: #1a3a6b; --primary-light: #2d6a9f;
      --accent: #c8a951; --accent-light: #e8c97a;
      --bg: #f4f6fb; --white: #fff;
      --border: #e8eaef; --text: #1a1a1a;
      --text-light: #666; --error: #c0392b; --success: #27ae60;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: 'Noto Sans KR', sans-serif; background: var(--bg); min-height: 100vh; color: var(--text); }

    /* 헤더 */
    .header { background: white; border-bottom: 1px solid var(--border); padding: 0 32px; height: 64px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
    .header-left { display: flex; align-items: center; gap: 14px; }
    .header-emblem { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--primary); overflow: hidden; }
    .header-emblem img { width: 40px; height: 40px; object-fit: cover; }
    .header-sub { font-size: 10px; color: var(--text-light); font-weight: 500; }
    .header-name { font-size: 18px; font-weight: 900; color: var(--primary); line-height: 1.1; }
    .back-btn { font-size: 12px; font-weight: 700; padding: 7px 16px; border-radius: 20px; border: 1.5px solid var(--border); background: white; color: var(--text-light); text-decoration: none; transition: all 0.2s; }
    .back-btn:hover { border-color: var(--primary); color: var(--primary); }

    /* 메인 */
    .main { max-width: 760px; margin: 0 auto; padding: 32px 24px 60px; }

    /* 페이지 타이틀 카드 */
    .page-title-card { background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: 20px; padding: 28px 32px; margin-bottom: 20px; box-shadow: 0 6px 28px rgba(26,58,107,0.25); position: relative; overflow: hidden; }
    .page-title-card::before { content: '🚌'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 72px; opacity: 0.15; }
    .page-title-card .tag { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 10px; background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); display: inline-block; margin-bottom: 10px; }
    .page-title-card h1 { font-size: 24px; font-weight: 900; color: white; margin-bottom: 6px; }
    .page-title-card p { font-size: 13px; color: rgba(255,255,255,0.75); }

    /* 안내 배너 */
    .info-banner { background: #f0f4fb; border: 1px solid #d0dff5; border-left: 4px solid var(--primary); border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: 13px; color: var(--primary); font-weight: 500; line-height: 1.6; }

    /* 섹션 카드 */
    .form-card { background: white; border-radius: 16px; padding: 28px; margin-bottom: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border: 1px solid var(--border); }
    .form-card-title { font-size: 13px; font-weight: 800; color: var(--primary); margin-bottom: 20px; display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 2px solid #f0f4fb; }

    /* 폼 */
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .form-grid.single { grid-template-columns: 1fr; }
    .form-group { display: flex; flex-direction: column; gap: 6px; }
    .form-group.full { grid-column: 1 / -1; }
    label { font-size: 12px; font-weight: 700; color: var(--text-light); letter-spacing: 0.3px; }
    label .required { color: var(--error); margin-left: 2px; }
    input, select, textarea {
      width: 100%; padding: 11px 14px;
      border: 1.5px solid var(--border); border-radius: 10px;
      font-size: 14px; font-family: 'Noto Sans KR', sans-serif;
      color: var(--text); outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
      background: #fafbfd;
    }
    input:focus, select:focus, textarea:focus {
      border-color: var(--primary); background: white;
      box-shadow: 0 0 0 3px rgba(26,58,107,0.08);
    }
    textarea { resize: vertical; min-height: 80px; }
    select {
      cursor: pointer; appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
      background-repeat: no-repeat; background-position: right 12px center;
      padding-right: 36px;
    }
    .datetime-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }

    /* 차량 선택 */
    .vehicle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .vehicle-option { display: none; }
    .vehicle-label {
      display: flex; flex-direction: column; align-items: center; gap: 4px;
      padding: 10px 8px 8px; border: 1.5px solid var(--border);
      border-radius: 10px; cursor: pointer; transition: all 0.2s; font-size: 12px; text-align: center;
    }
    .vehicle-option:checked + .vehicle-label { border-color: var(--primary); background: #f0f4fb; color: var(--primary); font-weight: 700; }
    .vehicle-dot { width: 14px; height: 14px; border-radius: 3px; border: 2px solid var(--border); align-self: flex-end; transition: all 0.2s; }
    .vehicle-option:checked + .vehicle-label .vehicle-dot { border-color: var(--primary); background: var(--primary); }
    .vehicle-label svg { width: 100%; max-width: 110px; height: auto; }

    /* 반복예약 */
    .repeat-box { border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; }
    .repeat-type-bar { display: flex; gap: 8px; padding: 12px 16px; background: #f9f9fb; flex-wrap: nowrap; overflow-x: auto; }
    .repeat-type-radio { display: none; }
    .repeat-type-lbl { padding: 7px 14px; border-radius: 20px; border: 1.5px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-light); cursor: pointer; transition: all 0.2s; white-space: nowrap; flex-shrink: 0; }
    .repeat-type-radio:checked + .repeat-type-lbl { border-color: var(--primary); background: #f0f4fb; color: var(--primary); }
    .repeat-detail { display: none; padding: 16px; background: #fffbeb; border-top: 1px solid var(--border); }
    .repeat-detail.show { display: block; }
    .repeat-info { font-size: 12px; color: var(--text-light); margin-top: 10px; padding: 8px 12px; background: white; border-radius: 8px; border: 1px solid var(--border); }

    /* 날짜 추가 */
    .extra-dates-section { margin-top: 12px; }
    .extra-dates-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
    .extra-date-row { display: flex; align-items: center; gap: 8px; background: #f0f4fb; border: 1.5px solid #c5d5f0; border-radius: 10px; padding: 10px 12px; flex-wrap: wrap; }
    .extra-veh-pair { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
    .extra-veh-label { font-size: 11px; font-weight: 700; color: var(--primary); white-space: nowrap; }
    .extra-date-row .extra-date-input { flex: 1; min-width: 130px; max-width: 160px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; background: white; }
    .extra-date-row .extra-time-select { flex: 1; min-width: 90px; max-width: 110px; padding: 7px 6px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; background: white; }
    .extra-sep { color: var(--text-light); font-size: 14px; font-weight: 600; flex-shrink: 0; }
    .extra-remove-btn { margin-left: auto; background: none; border: 1px solid #e0e0e0; border-radius: 6px; width: 28px; height: 28px; cursor: pointer; font-size: 12px; color: #c0392b; flex-shrink: 0; transition: background 0.15s; }
    .extra-remove-btn:hover { background: #ffeaea; border-color: #c0392b; }
    .extra-add-btn { display: flex; align-items: center; gap: 6px; padding: 9px 16px; border: 1.5px dashed var(--primary); border-radius: 10px; background: #f8faff; color: var(--primary); font-size: 13px; font-weight: 600; cursor: pointer; width: 100%; justify-content: center; transition: background 0.15s; }
    .extra-add-btn:hover { background: #eef3ff; }

    /* 사용준칙 */
    .rules { background: #f9f9fb; border-radius: 10px; padding: 16px; margin-top: 8px; border: 1px solid var(--border); }
    .rules li { font-size: 12px; color: var(--text-light); line-height: 1.8; list-style: none; padding-left: 14px; position: relative; }
    .rules li::before { content: "◎"; position: absolute; left: 0; font-size: 10px; }
    .rules li.red { color: var(--error); }
    .agree-row { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px; background: #f0f4fb; border-radius: 10px; }
    .agree-row input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; flex-shrink: 0; accent-color: var(--primary); }
    .agree-row label { font-size: 13px; font-weight: 500; color: var(--primary); cursor: pointer; letter-spacing: 0; }

    /* 제출 버튼 */
    .submit-btn {
      width: 100%; padding: 16px; border: none; border-radius: 14px;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
      color: white; font-size: 16px; font-weight: 900;
      font-family: 'Noto Sans KR', sans-serif; cursor: pointer;
      box-shadow: 0 4px 20px rgba(26,58,107,0.3); transition: all 0.2s;
      display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,58,107,0.38); }
    .submit-btn:disabled { background: #aaa; cursor: not-allowed; transform: none; box-shadow: none; }

    /* 완료 화면 */
    .success-screen { display: none; text-align: center; padding: 60px 28px; }
    .success-icon { width: 80px; height: 80px; background: #f0faf4; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 36px; margin: 0 auto 24px; }
    .success-title { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
    .success-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 28px; }
    .success-back-btn { display: inline-block; padding: 12px 28px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white; border: none; border-radius: 12px; font-size: 14px; font-weight: 700; font-family: 'Noto Sans KR', sans-serif; cursor: pointer; text-decoration: none; }

    /* 모달 */
    .alert-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; align-items: center; justify-content: center; padding: 16px; }
    .alert-overlay.show { display: flex; }
    .alert-box { background: white; border-radius: 20px; padding: 32px 28px; width: 100%; max-width: 360px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); text-align: center; }
    .alert-icon { font-size: 40px; margin-bottom: 16px; }
    .alert-msg { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.6; margin-bottom: 24px; word-break: keep-all; white-space: pre-line; }
    .alert-confirm-btn { width: 100%; padding: 13px; background: var(--error); color: white; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; font-family: 'Noto Sans KR', sans-serif; cursor: pointer; }
    .alert-confirm-btn:hover { opacity: 0.85; }

    /* 토스트 */
    .toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); background: #1a1a1a; color: white; padding: 14px 24px; border-radius: 10px; font-size: 14px; font-weight: 500; transition: transform 0.3s ease; z-index: 1000; white-space: nowrap; }
    .toast.show { transform: translateX(-50%) translateY(0); }
    .toast.success { background: var(--success); }
    .toast.error { background: var(--error); }

    @media (max-width: 600px) {
      .form-grid { grid-template-columns: 1fr; }
      .vehicle-grid { grid-template-columns: 1fr 1fr; }
      .main { padding: 16px 12px 40px; }
      .header { padding: 0 16px; }
    }

    /* ===== 단계별 위자드 ===== */
    .main { max-width: 960px; }
    .wz-steps { display: flex; align-items: flex-start; justify-content: center; margin-bottom: 28px; padding: 0 4px; }
    .wz-step { display: flex; flex-direction: column; align-items: center; }
    .wz-step-circle { width: 50px; height: 50px; border-radius: 50%; background: #e8eaef; color: #bbb; font-size: 17px; font-weight: 900; display: flex; align-items: center; justify-content: center; border: 3px solid #e8eaef; transition: all 0.3s; }
    .wz-step.active .wz-step-circle { background: var(--primary); border-color: var(--primary); color: white; box-shadow: 0 4px 16px rgba(26,58,107,0.35); }
    .wz-step.done .wz-step-circle { background: #27ae60; border-color: #27ae60; color: white; font-size: 20px; }
    .wz-step-label { font-size: 11px; font-weight: 600; color: #bbb; margin-top: 6px; text-align: center; white-space: pre-line; line-height: 1.3; }
    .wz-step.active .wz-step-label { color: var(--primary); font-weight: 800; }
    .wz-step.done .wz-step-label { color: #27ae60; }
    .wz-line { flex: 1; height: 3px; background: #e8eaef; align-self: center; margin: 0 4px; min-width: 16px; margin-bottom: 22px; transition: background 0.3s; border-radius: 2px; }
    .wz-line.done { background: #27ae60; }
    .wz-nav { display: flex; gap: 14px; margin-top: 24px; align-items: center; }
    .wz-prev-btn { padding: 16px 28px; border: 2px solid #d0d8e8; background: white; border-radius: 14px; font-size: 16px; font-weight: 700; font-family: 'Noto Sans KR', sans-serif; color: var(--text-light); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
    .wz-prev-btn:hover { border-color: var(--primary); color: var(--primary); }
    .wz-next-btn { flex: 1; padding: 18px; border: none; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: 14px; font-size: 19px; font-weight: 900; font-family: 'Noto Sans KR', sans-serif; color: white; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 16px rgba(26,58,107,0.3); }
    .wz-next-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,58,107,0.4); }
    .form-card { padding: 32px 36px; }
    .form-card-title { font-size: 18px; }
    .form-card label { font-size: 15px; }
    .form-card input, .form-card select, .form-card textarea { font-size: 16px; padding: 14px 16px; }
    .form-card .vehicle-label { font-size: 14px; padding: 14px 10px; }
    @media (max-width: 600px) {
      .wz-step-circle { width: 38px; height: 38px; font-size: 14px; }
      .wz-step-label { font-size: 9px; }
      .form-card { padding: 20px 16px; }
    }
    /* ===== 차량 예약 타임라인 ===== */
    #vehicleTimeline { background:#ebf2ff; border-radius:10px; padding:14px 16px; border:1.5px solid #b0cbf0; }
    .tl-title { font-size:13px; font-weight:800; color:var(--primary); margin-bottom:12px; }
    .tl-vehicle-block { margin-bottom:14px; }
    .tl-vehicle-name { font-size:12px; font-weight:700; color:#555; margin-bottom:6px; }
    .tl-bar-wrap { position:relative; height:36px; background:#fff; border-radius:8px; overflow:hidden; border:1px solid #d8e6f8; }
    .tl-hour-tick { position:absolute; top:0; bottom:0; width:1px; background:rgba(0,0,0,0.08); }
    .tl-hour-label { position:absolute; top:2px; font-size:9px; color:#999; transform:translateX(-50%); white-space:nowrap; }
    .tl-segment { position:absolute; top:4px; bottom:4px; background:linear-gradient(90deg,var(--primary),#24548a); border-radius:4px; opacity:0.82; cursor:default; }
    .tl-segment:hover { opacity:1; }
    .tl-segment-label { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:9px; font-weight:700; color:#fff; white-space:nowrap; overflow:hidden; padding:0 3px; }
    .tl-now-line { position:absolute; top:0; bottom:0; width:2px; background:#e74c3c; z-index:2; }
    .tl-now-dot { position:absolute; top:50%; width:8px; height:8px; background:#e74c3c; border-radius:50%; transform:translate(-50%,-50%); z-index:3; }
    .tl-labels-row { position:relative; height:18px; margin-top:4px; overflow:visible; }
    .tl-empty { color:#aaa; font-size:12px; margin-top:8px; display:block; }
    .tl-loading { color:#888; font-size:12px; }
    .tl-segment-my { position:absolute; top:2px; bottom:2px; background:rgba(34,197,94,0.35); border:2px solid rgba(34,197,94,0.8); border-radius:4px; z-index:3; pointer-events:none; }
    .tl-segment-conflict { position:absolute; top:2px; bottom:2px; background:repeating-linear-gradient(45deg,rgba(239,68,68,0.65),rgba(239,68,68,0.65) 4px,rgba(255,255,255,0.15) 4px,rgba(255,255,255,0.15) 8px); border:2px solid rgba(239,68,68,0.9); border-radius:4px; z-index:4; pointer-events:none; }
    .tl-legend { display:flex; gap:12px; flex-wrap:wrap; margin-top:8px; padding-top:8px; border-top:1px solid #ccddf5; }
    .tl-legend-item { display:flex; align-items:center; gap:5px; font-size:11px; color:#555; }
    .tl-legend-dot { width:12px; height:12px; border-radius:3px; flex-shrink:0; }
    .tl-legend-dot--existing { background:linear-gradient(90deg,var(--primary),#24548a); }
    .tl-legend-dot--my { background:rgba(34,197,94,0.4); border:2px solid rgba(34,197,94,0.8); }
    .tl-legend-dot--conflict { background:repeating-linear-gradient(45deg,rgba(239,68,68,0.7),rgba(239,68,68,0.7) 3px,transparent 3px,transparent 6px); border:2px solid rgba(239,68,68,0.9); }
