/* ================================================================
   LACAK KIRIMAN — Combined CSS
   Prefix: lc-*
   Layout: Bootstrap 5

   Timeline: Silver past / Teal active / Pulse dot
   Icon: fa-location-dot (default), fa-plane-departure, fa-plane-arrival
   ================================================================ */


/* ================================================================
   VARIABLES
   ================================================================ */
:root {
    --teal-50:#f0fdfc;--teal-100:#e6faf9;--teal-200:#d0f4f1;--teal-300:#a3ece6;x
    --teal-400:#5ad9d0;--teal-500:#2CC5BD;--teal-600:#25B3AB;--teal-700:#1FA59E;
    --teal-800:#178780;--teal-900:#0f5e59;
    --gray-50:#f8fafa;--gray-100:#f1f5f5;--gray-200:#e2e8e8;--gray-300:#cbd5d4;
    --gray-400:#94a3b8;--gray-500:#64748b;--gray-700:#334155;--gray-900:#0f172a;
    --white:#fff;--gold:#d4a843;
    --r-sm:10px;--r-md:14px;--r-lg:20px;--r-xl:28px;
}


/* ================================================================
   HERO
   ================================================================ */
.lc-hero {
    background: linear-gradient(170deg, var(--teal-500) 0%, var(--teal-600) 40%, var(--teal-700) 100%);
    padding: 40px 0 48px;
    position: relative; overflow: hidden;
}
.lc-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255,255,255,0.02) 49px, rgba(255,255,255,0.02) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255,255,255,0.02) 49px, rgba(255,255,255,0.02) 50px);
    pointer-events: none;
}
.lc-hero .container { position: relative; z-index: 2; }
.lc-hero-top { text-align: center; margin-bottom: 28px; }
.lc-hero-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: rgba(255,255,255,0.4);
    margin-bottom: 10px;
}
.lc-hero-title {
    font-size: 30px; font-weight: 900; color: #fff; line-height: 1.2;
    margin-bottom: 8px;
}
.lc-hero-sub {
    font-size: 14px; color: rgba(255,255,255,0.55);
    max-width: 460px; margin: 0 auto;
}


/* ================================================================
   SEARCH
   ================================================================ */
.lc-search-card {
    max-width: 720px; margin: 0 auto;
    background: #fff; border-radius: 20px; padding: 6px;
}
.lc-search-card:focus-within {
    box-shadow: 0 16px 56px rgba(0,0,0,0.12), 0 0 0 4px rgba(44,197,189,0.12);
}
.lc-search-inner { display: flex; align-items: center; }
.lc-search-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: var(--teal-50);
    display: flex; align-items: center; justify-content: center;
    color: var(--teal-600); font-size: 18px;
    flex-shrink: 0; margin-left: 10px;
}
.lc-search-input {
    flex: 1; min-width: 0; padding: 16px;
    border: none; outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 15px; font-weight: 500;
    color: var(--gray-900); background: transparent;
    letter-spacing: 0.5px;
}
.lc-search-input::placeholder { color: var(--gray-400); font-weight: 400; }
.lc-search-btn {
    padding: 14px 28px; border: none; border-radius: 14px;
    background: var(--teal-500); color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px; font-weight: 700;
    cursor: pointer; white-space: nowrap;
    display: flex; align-items: center; gap: 8px;
    flex-shrink: 0; margin: 2px;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(44,197,189,0.3);
}
.lc-search-btn:hover {
    background: var(--teal-600);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(44,197,189,0.35);
}
.lc-search-hint {
    text-align: center; margin-top: 14px;
    font-size: 12px; color: rgba(255,255,255,0.6);
}
.lc-search-hint i { margin-right: 4px; }
.lc-trust {
    display: flex; gap: 28px; justify-content: center;
    margin-top: 24px; flex-wrap: wrap;
}
.lc-trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5);
}
.lc-trust-item i { color: rgba(255,255,255,0.3); }


/* ================================================================
   RESULT CARD
   ================================================================ */
.lc-results { padding: 32px 0 40px; }
.lc-result-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    overflow: hidden; margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.lc-result-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
    color: #fff;
}
.lc-result-header-left { display: flex; align-items: center; gap: 14px; }
.lc-result-awb-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.lc-result-awb {
    font-size: 18px; font-weight: 800; letter-spacing: 0.5px; line-height: 1.2;
}
.lc-result-date { font-size: 11px; opacity: 0.6; font-weight: 500; margin-top: 2px; }
.lc-result-print {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s; flex-shrink: 0;
}
.lc-result-print:hover { background: rgba(255,255,255,0.25); }


/* ================================================================
   STATUS BAR
   ================================================================ */
.lc-status-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
}
.lc-status-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; border-radius: 100px;
    font-size: 12px; font-weight: 700;
    background: var(--teal-50); color: #1FA59E;
}
.lc-status-badge i { font-size: 10px; color: #1FA59E !important; }
.lc-status-update { font-size: 11px; color: var(--gray-400); font-weight: 500; }


/* ================================================================
   ROUTE
   ================================================================ */
.lc-route {
    display: flex; align-items: center; padding: 24px; gap: 0;
}
.lc-route-point {
    display: flex; flex-direction: column;
    align-items: center; gap: 6px; flex-shrink: 0;
}
.lc-route-flag {
    width: 40px; height: 40px; border-radius: 50%;
    border: 2px solid var(--gray-200); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; background: var(--gray-50);
}
.lc-route-flag img { width: 100%; height: 100%; object-fit: cover; }
.lc-route-label {
    font-size: 11px; font-weight: 700; color: var(--gray-900);
    text-transform: uppercase; letter-spacing: 0.3px; text-align: center;
}
.lc-route-mid {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; gap: 4px; padding: 0 16px;
}
.lc-route-line {
    width: 100%; height: 2px; position: relative;
    background: repeating-linear-gradient(90deg, var(--teal-300), var(--teal-300) 6px, transparent 6px, transparent 12px);
}
.lc-route-line::before {
    content: '\f1d8';
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    color: var(--teal-500); font-size: 14px;
    background: var(--white); padding: 0 8px;
}
.lc-route-type {
    font-size: 10px; font-weight: 600; color: var(--gray-400);
    text-transform: uppercase; letter-spacing: 0.5px; margin-top: 8px;
}


/* ================================================================
   ACCORDIONS
   ================================================================ */
.lc-accordion { border-top: 1px solid var(--gray-200); }
.lc-accordion-toggle {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px;
    background: transparent; border: none;
    border-bottom: 1px solid var(--gray-100);
    font-family: 'Poppins', sans-serif;
    font-size: 14px; font-weight: 700; color: var(--gray-900);
    cursor: pointer; transition: all 0.3s;
}
.lc-accordion-toggle:hover { background: var(--gray-50); }
.lc-accordion-toggle i {
    color: var(--teal-500); font-size: 14px; transition: transform 0.3s;
}
.lc-accordion-toggle.active i { transform: rotate(180deg); }
.lc-accordion-body {
    display: none; padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
}
.lc-accordion-body.active { display: block; }

/* Detail grid */
.lc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lc-detail-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    background: var(--gray-50); border-radius: var(--r-md);
}
.lc-detail-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--teal-100); color: var(--teal-700);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
}
.lc-detail-label {
    font-size: 10px; font-weight: 600; color: var(--gray-400);
    text-transform: uppercase; letter-spacing: 0.3px;
}
.lc-detail-value { font-size: 14px; font-weight: 700; color: var(--gray-900); }


/* ================================================================
   TIMELINE — Silver past / Teal active / Pulse dot
   ================================================================ */
.lc-timeline { position: relative; padding: 0; }

.lc-timeline-item {
    display: flex; align-items: flex-start;
    gap: 16px; position: relative; padding-bottom: 28px;
}
.lc-timeline-item:last-child { padding-bottom: 0; }

/* Vertical line */
.lc-timeline-item:not(:last-child)::before {
    content: ''; position: absolute;
    left: 11px; top: 26px; bottom: 0;
    width: 2px; background: #e5e5e5;
}
.lc-timeline-item.lc-current:not(:last-child)::before {
    background: linear-gradient(to bottom, var(--teal-500) 0%, #e5e5e5 100%);
}

/* Dot — Past */
.lc-past .lc-timeline-dot {
    position: relative;
    width: 24px; height: 24px; min-width: 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px; z-index: 2;
    background: #fff; border: 2px solid #d4d4d4;
}
.lc-past .lc-timeline-dot span {
    width: 8px; height: 8px; border-radius: 50%;
    background: #c8c8c8; display: block;
}

/* Dot — Current (pulse) */
.lc-current .lc-timeline-dot {
    position: relative;
    width: 24px; height: 24px; min-width: 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px; z-index: 2;
    background: #fff; border: 2.5px solid var(--teal-500);
    animation: lcDotPulse 2s ease-in-out infinite;
}
.lc-current .lc-timeline-dot span {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--teal-500); display: block;
}
@keyframes lcDotPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(44,197,189,0.2); }
    50%      { box-shadow: 0 0 0 6px rgba(44,197,189,0.08); }
}

/* Content */
.lc-timeline-content {
    display: flex; align-items: flex-start;
    gap: 12px; flex: 1; min-width: 0;
}

/* Icon — Past */
.lc-past .lc-timeline-icon {
    width: 36px; height: 36px; min-width: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; background: #f5f5f5; color: #c0c0c0;
}

/* Icon — Current */
.lc-current .lc-timeline-icon {
    width: 36px; height: 36px; min-width: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    background: rgba(44,197,189,0.1); color: var(--teal-500);
}

/* Text */
.lc-timeline-text { flex: 1; min-width: 0; }

.lc-timeline-title { font-size: 14px; line-height: 1.4; margin-bottom: 2px; }
.lc-past .lc-timeline-title    { font-weight: 500; color: #a0a0a0; }
.lc-current .lc-timeline-title { font-weight: 700; color: var(--teal-700); }

.lc-timeline-location {
    font-size: 12.5px; margin-bottom: 1px; text-transform: capitalize;
}
.lc-past .lc-timeline-location    { color: #c0c0c0; }
.lc-current .lc-timeline-location { color: #5bbdb8; }

.lc-timeline-date { font-size: 12px; }
.lc-past .lc-timeline-date    { color: #cdcdcd; }
.lc-current .lc-timeline-date { color: #999; }


/* ================================================================
   ERROR CARD
   ================================================================ */
.lc-error-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 32px 24px; text-align: center; margin-bottom: 20px;
}
.lc-error-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: #fef2f2; color: #ef4444;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin: 0 auto 16px;
}
.lc-error-awb { font-size: 18px; font-weight: 800; color: var(--gray-900); margin-bottom: 4px; }
.lc-error-text { font-size: 13px; color: var(--gray-400); }


/* ================================================================
   HELP
   ================================================================ */
.lc-help {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 24px; margin-bottom: 24px;
}
.lc-help-title { font-size: 16px; font-weight: 800; color: var(--gray-900); margin-bottom: 16px; }
.lc-help-actions { display: flex; gap: 12px; }
.lc-help-btn {
    flex: 1; padding: 12px 16px; border: none; border-radius: var(--r-md);
    font-family: 'Poppins', sans-serif;
    font-size: 13px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: all 0.3s;
}
.lc-help-wa {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-600)); color: #fff;
}
.lc-help-wa:hover { background: linear-gradient(135deg, var(--teal-400), var(--teal-500)); transform: translateY(-1px); }
.lc-help-share { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-200); }
.lc-help-share:hover { background: var(--gray-200); transform: translateY(-1px); }


/* ================================================================
   INFO / FAQ
   ================================================================ */
.lc-info-section { margin-bottom: 32px; }
.lc-sec-header { text-align: center; margin-bottom: 24px; }
.lc-sec-title { font-size: 20px; font-weight: 800; color: var(--gray-900); margin: 0 0 4px; }
.lc-sec-desc { font-size: 13px; color: var(--gray-400); margin: 0; }
.lc-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lc-step-card {
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--r-lg); padding: 24px 20px;
    text-align: center; transition: all 0.3s;
}
.lc-step-card:hover {
    border-color: var(--teal-300); transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(44,197,189,0.08);
}
.lc-step-num {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--teal-500); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; margin: 0 auto 14px;
}
.lc-step-card h4 { font-size: 14px; font-weight: 700; color: var(--gray-900); margin: 0 0 6px; }
.lc-step-card p { font-size: 12px; color: var(--gray-500); line-height: 1.5; margin: 0; }
.lc-faq-list { margin-top: 24px; }
.lc-faq-item {
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--r-md); margin-bottom: 8px; overflow: hidden;
}
.lc-faq-q {
    width: 100%; padding: 16px 20px;
    display: flex; align-items: center; justify-content: space-between;
    background: transparent; border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px; font-weight: 600; color: var(--gray-900);
    cursor: pointer; text-align: left; transition: all 0.3s;
}
.lc-faq-q:hover { background: var(--gray-50); }
.lc-faq-q i { color: var(--teal-500); font-size: 12px; transition: transform 0.3s; flex-shrink: 0; }
.lc-faq-q.active i { transform: rotate(180deg); }
.lc-faq-a {
    display: none; padding: 0 20px 16px;
    font-size: 13px; color: var(--gray-500); line-height: 1.6;
}
.lc-faq-a.active { display: block; }


/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes lcFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.lc-anim { animation: lcFadeUp 0.5s ease forwards; opacity: 0; }


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 767.98px) {
    .lc-hero { padding: 28px 0 36px; }
    .lc-hero-title { font-size: 22px; }
    .lc-hero-sub { font-size: 13px; }
    .lc-search-inner { flex-direction: column; }
    .lc-search-icon { display: none; }
    .lc-search-input { width: 100%; padding: 14px 16px; text-align: center; }
    .lc-search-btn { width: calc(100% - 4px); justify-content: center; border-radius: 12px; margin: 2px; }
    .lc-trust { gap: 16px; }
    .lc-trust-item { font-size: 11px; }
    .lc-result-header { padding: 16px 18px; }
    .lc-result-awb { font-size: 15px; }
    .lc-result-awb-icon { width: 38px; height: 38px; font-size: 15px; }
    .lc-status-bar { padding: 12px 18px; flex-wrap: wrap; }
    .lc-route { flex-direction: column; gap: 12px; padding: 20px 18px; }
    .lc-route-mid { width: 100%; padding: 8px 0; }
    .lc-accordion-toggle { padding: 14px 18px; font-size: 13px; }
    .lc-accordion-body { padding: 16px 18px; }
    .lc-detail-grid { grid-template-columns: 1fr; }
    .lc-help-actions { flex-direction: column; }
    .lc-steps-grid { grid-template-columns: 1fr; }
    .lc-sec-title { font-size: 18px; }
}

@media (max-width: 575.98px) {
    .lc-hero-title { font-size: 20px; }
    .lc-hero-eyebrow { font-size: 10px; letter-spacing: 1.5px; }
    .lc-search-input { font-size: 16px; }
    .lc-result-awb { font-size: 14px; }
    .lc-timeline-title { font-size: 13px; }
    .lc-timeline-location { font-size: 11px; }
}


/* ================================================================
   PRINT
   ================================================================ */
@media print {
    .lc-hero, .lc-help, .lc-info-section, .lc-result-print,
    .lc-trust, .lc-search-hint { display: none !important; }
    .lc-result-card { box-shadow: none; border: 1px solid #ccc; }
    .lc-accordion-body { display: block !important; }
}