/* @section: core-content-grids */
.jt-content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 30px 0; }
.jt-content-grid article { padding: 28px; border: 1px solid var(--line, #dbe4ed); border-radius: 16px; background: #fff; }
.jt-content-grid h2 { margin-top: 0 !important; font-size: 1.35rem !important; }
.jt-contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.jt-contact-layout > div { padding: 30px; border: 1px solid var(--line, #dbe4ed); border-radius: 18px; background: var(--sky-50, #f5f9fd); }

/* @section: destination-shortcode */
.jt-destinations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.jt-destination { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 18px; padding: 21px 24px; border: 1px solid var(--line, #dbe4ed); border-radius: 13px; background: #fff; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.jt-destination:hover { box-shadow: 0 10px 30px rgba(8,28,49,.1); transform: translateY(-3px); }
.jt-destination span:last-child { color: var(--orange-600, #e6532d); }
.jt-country-intro { margin-bottom: 32px; padding: 28px; border-left: 5px solid var(--orange-600, #e6532d); border-radius: 10px; background: var(--sky-50, #f5f9fd); }
.jt-country-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.jt-country-sections section { padding: 25px; border: 1px solid var(--line, #dbe4ed); border-radius: 14px; }
.jt-country-sections h3 { font-size: 1.2rem; }
.jt-country-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* @section: form-messages */
.jt-form-errors { margin: 0 0 25px; padding: 18px 22px 18px 42px; border-left: 4px solid var(--danger, #b42318); border-radius: 8px; color: #7a271a; background: #fff1f0; }
.jt-success-panel { padding: 28px; border: 1px solid #a5d6bd; border-radius: 18px; background: #edf9f3; }
.jt-success-panel h2 { color: #105c3a; }
.jt-success-panel .jika-reference { border: 1px solid #a5d6bd; }
.jt-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* @section: tracking */
.jt-tracking-result { margin-top: 32px; padding: 30px; border: 1px solid var(--line, #dbe4ed); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(8,28,49,.08); }
.jt-tracking-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
.jt-status-badge { display: inline-flex; padding: 8px 13px; border-radius: 999px; color: #fff; background: var(--navy-900, #102d4f); font-size: .8rem; font-weight: 800; }
.jt-timeline { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; list-style: none; }
.jt-timeline li { position: relative; padding-top: 34px; color: #768497; font-size: .72rem; text-align: center; }
.jt-timeline li::before { content: ""; position: absolute; z-index: 2; top: 0; left: 50%; width: 20px; height: 20px; border: 4px solid #fff; border-radius: 50%; background: #cbd6e0; box-shadow: 0 0 0 1px #cbd6e0; transform: translateX(-50%); }
.jt-timeline li::after { content: ""; position: absolute; top: 9px; right: 50%; left: -50%; height: 2px; background: #d9e2ea; }
.jt-timeline li:first-child::after { display: none; }
.jt-timeline li.is-complete { color: var(--navy-900, #102d4f); font-weight: 800; }
.jt-timeline li.is-complete::before, .jt-timeline li.is-complete::after { background: var(--orange-600, #e6532d); box-shadow: 0 0 0 1px var(--orange-600, #e6532d); }
.jt-case-note { margin-top: 28px; padding: 18px; border-radius: 10px; background: var(--sky-50, #f5f9fd); }

/* @section: client-area */
.jt-auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.jt-auth-card { padding: 30px; border: 1px solid var(--line, #dbe4ed); border-radius: 18px; background: #fff; }
.jt-password-wrap { position: relative; }
.jt-password-wrap input { padding-right: 85px !important; }
.jt-password-toggle { position: absolute; top: 50%; right: 10px; padding: 5px 8px; border: 0; color: var(--navy-800, #173f6d); background: transparent; font-size: .75rem; font-weight: 800; transform: translateY(-50%); }
.jt-dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
.jt-dashboard-head p { margin: 0; }
.jt-case-list { display: grid; gap: 18px; }
.jt-case-card { padding: 26px; border: 1px solid var(--line, #dbe4ed); border-radius: 16px; background: #fff; }
.jt-case-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.jt-case-card__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.jt-case-card__meta div { padding: 13px; border-radius: 9px; background: var(--sky-50, #f5f9fd); }
.jt-case-card__meta small, .jt-case-card__meta strong { display: block; }
.jt-case-card__meta small { color: #6b7888; }

/* @section: calculator */
.jt-calculator { display: grid; grid-template-columns: .75fr 1.25fr; gap: 28px; }
.jt-calculator__controls, .jt-calculator__result { padding: 30px; border: 1px solid var(--line, #dbe4ed); border-radius: 18px; }
.jt-calculator__controls { background: var(--sky-50, #f5f9fd); }
.jt-calculator__controls .jika-field + .jika-field { margin-top: 16px; }
.jt-calculator__result { color: #dce9f4; background: var(--navy-900, #102d4f); }
.jt-calculator__result h3, .jt-calculator__result h4 { color: #fff; }
.jt-calculator__result ul { padding-left: 1.2em; }
.jt-result-kicker { color: #ffad92; font-size: .75rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.jt-disclaimer { margin-top: 22px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.18); color: #bdd0e1; font-size: .78rem; }

@media (max-width: 760px) {
    .jt-content-grid, .jt-contact-layout, .jt-destinations, .jt-country-sections, .jt-auth-grid, .jt-calculator { grid-template-columns: 1fr; }
    .jt-timeline { display: block; }
    .jt-timeline li { min-height: 48px; padding: 0 0 22px 40px; text-align: left; }
    .jt-timeline li::before { top: 0; left: 10px; transform: none; }
    .jt-timeline li::after { top: -30px; bottom: auto; left: 19px; width: 2px; height: 30px; }
    .jt-tracking-head, .jt-dashboard-head, .jt-case-card__head { align-items: flex-start; flex-direction: column; }
    .jt-case-card__meta { grid-template-columns: 1fr; }
}
