/* Panduan daftar & bantu pilih jalur v5 (Figma 6004:7472, 5296:101056). Dimuat layout untuk baru-pertama-daftar & jalur-seleksi. */

/* Panduan daftar (6004:7472). Hero memakai .brochure-detail-hero dari mobile.css/desktop.css. */
.spmbfront-v5 .guide-content { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.spmbfront-v5 .guide-aside { display: flex; flex-direction: column; gap: 24px; }
.spmbfront-v5 .guide-section-head { margin-bottom: 16px; }
.spmbfront-v5 .guide-section-head h2 { margin: 0 0 4px; color: #0d0d12; font-size: 17px; line-height: 22px; font-weight: 600; }
.spmbfront-v5 .guide-section-head p { margin: 0; color: #666d80; font-size: 13px; line-height: 18px; }
.spmbfront-v5 .guide-steps { margin: 0; padding: 8px 16px; list-style: none; background: #fff; border: 1px solid #eceff3; border-radius: 16px; }
.spmbfront-v5 .guide-step { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; }
.spmbfront-v5 .guide-step + .guide-step { border-top: 1px solid #eceff3; }
.spmbfront-v5 .guide-step-number { display: flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: #f2f6fb; color: #124c84; font-size: 12px; line-height: 16px; font-weight: 600; }
.spmbfront-v5 .guide-step-body { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.spmbfront-v5 .guide-step h3 { margin: 0; color: #0d0d12; font-size: 16px; line-height: 21px; font-weight: 600; }
.spmbfront-v5 .guide-step p { margin: 0; color: #353849; font-size: 13px; line-height: 18px; }
.spmbfront-v5 .guide-step small { color: #666d80; font-size: 12px; line-height: 16px; }
.spmbfront-v5 .guide-checklist { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 20px 16px; list-style: none; background: #fff; border: 1px solid #eceff3; border-radius: 16px; color: #353849; font-size: 14px; line-height: 20px; }
.spmbfront-v5 .guide-checklist li { position: relative; padding-left: 22px; }
.spmbfront-v5 .guide-checklist li::before { content: '\2022'; position: absolute; top: 0; left: 0; width: 14px; font-weight: 600; }
.spmbfront-v5 .guide-download { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: #124c84; font-size: 13px; line-height: 18px; font-weight: 500; text-decoration: none; }
.spmbfront-v5 .guide-download:hover { text-decoration: underline; }
.spmbfront-v5 .guide-download .material-icons-outlined { font-size: 18px; }

/* Kartu "Bingung pilih jalur?" (5406:3738) di halaman jalur, kini tombol pembuka modal. */
.spmbfront-v5 button.jalur-help { width: 100%; padding: 14px 16px; border: 1px solid #adc8e4; border-radius: 16px; font: inherit; text-align: left; cursor: pointer; }
.spmbfront-v5 button.jalur-help strong { color: #0d0d12; }
.spmbfront-v5 button.jalur-help:focus-visible { outline: 2px solid #124c84; outline-offset: 2px; }

/* Modal bantu pilih jalur (5296:100829, 5296:100908, 5296:101015). */
.spmbfront-v5 .jalur-chooser [hidden] { display: none !important; }
.spmbfront-v5 .jalur-chooser .modal-dialog { width: calc(100% - 32px); max-width: 370px; margin: 16px auto; }
.spmbfront-v5 .jalur-chooser .modal-dialog-centered { min-height: calc(100% - 32px); }
.spmbfront-v5 .jalur-chooser .modal-dialog-scrollable { height: calc(100% - 32px); }
.spmbfront-v5 .jalur-chooser .modal-content { overflow: hidden; border: 0; border-radius: 20px; box-shadow: 0 24px 28px rgba(11, 25, 41, .24); }
.spmbfront-v5 .jalur-chooser .modal-header { gap: 16px; padding: 20px; border: 0; border-radius: 0; background: #124c84; color: #fff; }
.spmbfront-v5 .jalur-chooser .modal-title { flex: 1; min-width: 0; margin: 0; color: #fff; font-size: 16px; line-height: 21px; font-weight: 600; }
.spmbfront-v5 .jalur-chooser .modal-title:focus { outline: none; }
.spmbfront-v5 .jalur-chooser-progress { display: flex; flex: none; gap: 6px; }
.spmbfront-v5 .jalur-chooser-progress > [aria-hidden] { width: 16px; height: 4px; border-radius: 999px; background: #fff; }
.spmbfront-v5 .jalur-chooser-progress > [aria-hidden] + [aria-hidden] { opacity: .4; }
.spmbfront-v5 .jalur-chooser-progress.is-step-2 > [aria-hidden] + [aria-hidden] { opacity: 1; }
.spmbfront-v5 .jalur-chooser-close { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; margin: -6px -6px -6px 0; padding: 0; border: 0; border-radius: 999px; background: transparent; color: #fff; }
.spmbfront-v5 .jalur-chooser-close:hover { background: rgba(255, 255, 255, .14); }
.spmbfront-v5 .jalur-chooser-close:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.spmbfront-v5 .jalur-chooser .modal-body { padding: 20px 20px 24px; }
.spmbfront-v5 .jalur-chooser fieldset { display: flex; flex-direction: column; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.spmbfront-v5 .jalur-chooser-option { display: flex; align-items: center; gap: 12px; margin: 0; padding: 16px 20px; border: 1px solid #d2d7de; border-radius: 12px; background: #fff; cursor: pointer; }
/* Terpilih: garis 1,5px (1px border + 0,5px bayangan) supaya ukuran kartu tidak bergeser. */
.spmbfront-v5 .jalur-chooser-option.is-checked { border-color: #124c84; background: #eef4fa; box-shadow: inset 0 0 0 .5px #124c84; }
.spmbfront-v5 .jalur-chooser-option input { flex: none; width: 20px; height: 20px; margin: 0; border: 1.4px solid #dfe1e6; border-radius: 999px; background: #fff; -webkit-appearance: none; appearance: none; cursor: pointer; }
.spmbfront-v5 .jalur-chooser-option input:checked { border: 6px solid #124c84; }
.spmbfront-v5 .jalur-chooser-option input:focus-visible { outline: 2px solid #124c84; outline-offset: 2px; }
.spmbfront-v5 .jalur-chooser-option > span { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; }
.spmbfront-v5 .jalur-chooser-option strong { color: #0d0d12; font-size: 14px; line-height: 20px; font-weight: 600; }
.spmbfront-v5 .jalur-chooser-option small { color: #666d80; font-size: 13px; line-height: 18px; }
.spmbfront-v5 .jalur-chooser-option.is-prodi { padding: 16px; }
.spmbfront-v5 .jalur-chooser-option.is-prodi > span { gap: 2px; }
.spmbfront-v5 .jalur-chooser-option.is-prodi strong { font-size: 13px; line-height: 18px; font-weight: 500; }
/* Kolom cari tetap terlihat saat daftar prodi digulir. */
.spmbfront-v5 .jalur-chooser-search { position: sticky; top: -20px; z-index: 1; margin: -20px -20px 0; padding: 20px 20px 0; background: #fff; }
.spmbfront-v5 .jalur-chooser-search label { display: flex; align-items: center; gap: 12px; height: 42px; margin: 0; padding: 0 16px; border: 1px solid #808897; border-radius: 12px; background: #fff; }
.spmbfront-v5 .jalur-chooser-search label:focus-within { border-color: #124c84; box-shadow: 0 0 0 3px rgba(18, 76, 132, .16); }
.spmbfront-v5 .jalur-chooser-search .material-icons-outlined { flex: none; font-size: 16px; color: #666d80; }
.spmbfront-v5 .jalur-chooser-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; color: #0d0d12; font-size: 13px; line-height: 18px; outline: none; }
.spmbfront-v5 .jalur-chooser-search input::placeholder { color: #666d80; }
.spmbfront-v5 .jalur-chooser-empty { margin: 0; color: #666d80; font-size: 13px; line-height: 18px; }
.spmbfront-v5 .jalur-chooser .modal-footer { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; padding: 16px 20px 20px; border-top: 1px solid #eceff3; background: #fafbfc; }
.spmbfront-v5 .jalur-chooser .modal-footer > * { margin: 0; }
.spmbfront-v5 .jalur-chooser-link { align-self: center; padding: 0; border: 0; background: none; color: #124c84; font-size: 14px; line-height: 20px; font-weight: 500; }
.spmbfront-v5 .jalur-chooser-link:hover { text-decoration: underline; }
.spmbfront-v5 .jalur-chooser-results { display: flex; flex-direction: column; gap: 16px; }
.spmbfront-v5 .jalur-chooser-result { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 2px solid #124c84; border-radius: 14px; background: #eef4fa; }
.spmbfront-v5 .jalur-chooser-result.is-alt { border: 1px solid #d2d7de; background: #fff; }
.spmbfront-v5 .jalur-chooser-result.is-empty { border: 1px solid #eceff3; background: #f8f9fb; }
.spmbfront-v5 .jalur-chooser-result-head { display: flex; flex-direction: column; gap: 8px; }
.spmbfront-v5 .jalur-chooser-result h3 { margin: 0; color: #124c84; font-size: 16px; line-height: 21px; font-weight: 600; }
.spmbfront-v5 .jalur-chooser-result-head p { margin: 0; color: #353849; font-size: 13px; line-height: 18px; opacity: .85; }
.spmbfront-v5 .jalur-chooser-result-head .jalur-chooser-result-info { display: -webkit-box; overflow: hidden; color: #666d80; opacity: 1; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.spmbfront-v5 .jalur-chooser-facts { margin: 0; }
.spmbfront-v5 .jalur-chooser-facts > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; }
.spmbfront-v5 .jalur-chooser-facts > div:first-child { padding-top: 0; }
.spmbfront-v5 .jalur-chooser-facts > div:last-child { padding-bottom: 0; }
.spmbfront-v5 .jalur-chooser-facts > div + div { border-top: 1px solid #eceff3; }
.spmbfront-v5 .jalur-chooser-facts dt { color: #666d80; font-size: 13px; line-height: 18px; font-weight: 400; }
.spmbfront-v5 .jalur-chooser-facts dd { margin: 0; color: #0d0d12; font-size: 14px; line-height: 20px; font-weight: 600; }
.spmbfront-v5 .jalur-chooser-facts dd.is-fee { color: #bf4900; }
.spmbfront-v5 .jalur-chooser-facts dd.is-note { color: #666d80; font-size: 13px; line-height: 18px; font-weight: 400; }
.spmbfront-v5 .jalur-chooser-result-note { margin: 0; color: #666d80; font-size: 13px; line-height: 18px; font-weight: 600; }
.spmbfront-v5 .jalur-chooser-actions { display: flex; flex-direction: column; gap: 10px; }
.spmbfront-v5 .jalur-chooser-actions form { margin: 0; }
.spmbfront-v5 .jalur-chooser-actions .btn-outline-primary { background: #fff; }
.spmbfront-v5 .jalur-chooser-actions .btn-outline-primary:hover { background: #eef4fa; color: #124c84; }
.spmbfront-v5 .jalur-chooser-alt { margin: 0 0 -8px; color: #666d80; font-size: 13px; line-height: 18px; font-weight: 600; }
.spmbfront-v5 .jalur-chooser-more { margin: 0; color: #666d80; font-size: 13px; line-height: 18px; text-align: center; }
.spmbfront-v5 .jalur-chooser-more a { color: #124c84; font-weight: 500; }

@media (min-width: 576px) {
    .spmbfront-v5 .jalur-chooser .modal-dialog { max-width: 400px; margin-top: 28px; margin-bottom: 28px; }
    .spmbfront-v5 .jalur-chooser .modal-dialog-centered { min-height: calc(100% - 56px); }
    .spmbfront-v5 .jalur-chooser .modal-dialog-scrollable { height: calc(100% - 56px); }
}

/* Desktop: dua kolom (langkah | berkas + tombol) dan ukuran teks mode desktop Figma. */
@media (min-width: 992px) {
    .spmbfront-v5 .guide-content { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: 32px; padding-top: 40px; padding-bottom: 56px; }
}
@media (min-width: 1200px) {
    .spmbfront-v5 .guide-section-head h2 { font-size: 20px; line-height: 30px; }
    .spmbfront-v5 .guide-section-head p { font-size: 15px; line-height: 22px; }
    .spmbfront-v5 .guide-steps { padding: 8px 24px; }
    .spmbfront-v5 .guide-step { gap: 16px; padding: 16px 0; }
    .spmbfront-v5 .guide-step-number { width: 32px; height: 32px; font-size: 14px; line-height: 20px; }
    .spmbfront-v5 .guide-step h3 { font-size: 18px; line-height: 26px; }
    .spmbfront-v5 .guide-step p { font-size: 15px; line-height: 22px; }
    .spmbfront-v5 .guide-step small { font-size: 14px; line-height: 20px; }
    .spmbfront-v5 .guide-checklist { padding: 24px; font-size: 16px; line-height: 24px; }
    .spmbfront-v5 .guide-download { font-size: 15px; line-height: 22px; }
    /* desktop.css memberi padding 24px pada kartu bantu; aturan tombol di atas tidak boleh menimpanya. */
    .spmbfront-v5 button.jalur-help { padding: 24px; }
}
