:root {
    --siphoaks-navy: #0b1f4d;
    --siphoaks-cyan: #18b7ff;
    --siphoaks-bg: #f5f8fc;
    --siphoaks-warning: #f59e0b;
    --siphoaks-success: #10b981;
    --siphoaks-danger: #ef4444;
    --siphoaks-muted: #64748b;
    --siphoaks-line: #dbe5f0;
    --siphoaks-soft-cyan: #e8f7ff;
}

body {
    min-height: 100vh;
    color: #111827;
    background: radial-gradient(
            circle at 12% 12%,
            rgba(24, 183, 255, 0.13),
            transparent 25%
        ),
        radial-gradient(
            circle at 88% 20%,
            rgba(11, 31, 77, 0.08),
            transparent 28%
        ),
        var(--siphoaks-bg);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
}

p {
    color: var(--siphoaks-muted);
    line-height: 1.7;
}

.tracking-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.tracking-hero {
    padding: 4rem 0 7rem;
    background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.8),
            rgba(232, 247, 255, 0.72)
        ),
        radial-gradient(
            circle at 70% 12%,
            rgba(24, 183, 255, 0.16),
            transparent 32%
        );
    border-bottom: 1px solid rgba(219, 229, 240, 0.85);
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--siphoaks-navy);
    background: #fff;
    border: 1px solid var(--siphoaks-line);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(11, 31, 77, 0.06);
}

.brand-mark {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--siphoaks-line);
    border-radius: 8px;
    background: #fff;
}

.brand-mark img {
    width: 24px;
    height: 24px;
}

.tracking-title {
    color: var(--siphoaks-navy);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: 0;
}

.tracking-subtitle {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.08rem;
}

.content-wrap {
    margin-top: -4.2rem;
    padding-bottom: 4rem;
}

.modern-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(219, 229, 240, 0.95);
    border-radius: 16px;
    box-shadow: 0 22px 60px rgba(11, 31, 77, 0.1);
}

.search-card-body {
    padding: clamp(1.5rem, 4vw, 2.2rem);
}

.card-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--siphoaks-navy);
    background: var(--siphoaks-soft-cyan);
    border-radius: 14px;
    font-size: 1.45rem;
}

.section-heading {
    color: var(--siphoaks-navy);
    font-weight: 800;
}

.input-group-text {
    color: var(--siphoaks-navy);
    background: #f8fbff;
    border-color: var(--siphoaks-line);
    border-radius: 12px 0 0 12px;
}

.form-control {
    min-height: 52px;
    border-color: var(--siphoaks-line);
    border-radius: 12px;
}

.input-group .form-control {
    border-left: 0;
    border-radius: 0 12px 12px 0;
}

.form-control:focus {
    border-color: var(--siphoaks-cyan);
    box-shadow: 0 0 0 0.22rem rgba(24, 183, 255, 0.16);
}

.btn-siphoaks {
    min-height: 52px;
    color: #fff;
    background: linear-gradient(135deg, var(--siphoaks-navy), #0b6ee8);
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(11, 31, 77, 0.18);
}

.btn-siphoaks:hover,
.btn-siphoaks:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(11, 31, 77, 0.24);
}

.btn-outline-siphoaks {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--siphoaks-navy);
    background: #fff;
    border: 1px solid var(--siphoaks-line);
    border-radius: 12px;
    font-weight: 800;
}

.btn-outline-siphoaks:hover {
    color: var(--siphoaks-navy);
    border-color: var(--siphoaks-cyan);
    background: var(--siphoaks-soft-cyan);
}

.helper-note {
    display: flex;
    gap: 0.65rem;
    color: var(--siphoaks-muted);
    font-size: 0.92rem;
}

.guide-card {
    height: 100%;
    padding: 1.35rem;
    background: #fff;
    border: 1px solid rgba(219, 229, 240, 0.95);
    border-radius: 16px;
    box-shadow: 0 16px 42px rgba(11, 31, 77, 0.07);
}

.guide-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.72rem 0;
    color: #334155;
    font-weight: 600;
    border-bottom: 1px solid #eef2f7;
}

.guide-list li:last-child {
    border-bottom: 0;
}

.guide-number {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--siphoaks-navy);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 800;
}

.result-card {
    border: 1px solid rgba(219, 229, 240, 0.95);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(11, 31, 77, 0.08);
}

.result-card-header {
    padding: 1.3rem;
    background: linear-gradient(135deg, #f8fbff, #eef8ff);
    border-bottom: 1px solid var(--siphoaks-line);
}

.result-card-body {
    padding: 1.3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.info-item {
    padding: 0.95rem;
    background: #f8fbff;
    border: 1px solid #e8eef6;
    border-radius: 12px;
}

.info-label {
    color: var(--siphoaks-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.info-value {
    color: #1e293b;
    font-weight: 800;
    word-break: break-word;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.45rem 0.72rem;
    font-size: 0.82rem;
    font-weight: 800;
}

.status-badge.warning {
    color: #7c4a03;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.status-badge.success {
    color: #047857;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.26);
}

.status-badge.danger {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.13);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.status-message {
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
}

.status-message.warning {
    color: #7c4a03;
    background: rgba(245, 158, 11, 0.12);
}

.status-message.success {
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
}

.status-message.danger {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.1);
}

.tracking-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 1.25rem 0;
}

.timeline-step {
    position: relative;
    text-align: center;
    color: var(--siphoaks-muted);
}

.timeline-step::before {
    content: "";
    position: absolute;
    top: 23px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e5edf6;
    z-index: 0;
}

.timeline-step:first-child::before {
    left: 50%;
    width: 50%;
}

.timeline-step:last-child::before {
    width: 50%;
}

.timeline-step.is-active::before,
.timeline-step.is-complete::before {
    background: var(--timeline-color, var(--siphoaks-cyan));
}

.timeline-icon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    color: #94a3b8;
    background: #fff;
    border: 3px solid #e5edf6;
    border-radius: 50%;
    font-size: 1.1rem;
}

.timeline-step.is-active .timeline-icon,
.timeline-step.is-complete .timeline-icon {
    color: #fff;
    background: var(--timeline-color, var(--siphoaks-cyan));
    border-color: var(--timeline-color, var(--siphoaks-cyan));
}

.timeline-title {
    color: #334155;
    font-size: 0.88rem;
    font-weight: 800;
}

.timeline-step.is-active .timeline-title,
.timeline-step.is-complete .timeline-title {
    color: var(--siphoaks-navy);
}

.empty-result {
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 16px;
    background: rgba(239, 68, 68, 0.08);
    color: #991b1b;
    padding: 1.2rem;
    font-weight: 700;
}

.footer-clean {
    margin-top: auto;
    padding: 1.4rem 0;
    background: #fff;
    border-top: 1px solid var(--siphoaks-line);
}

.footer-clean p {
    margin-bottom: 0;
    color: var(--siphoaks-muted);
}

.footer-clean a {
    color: var(--siphoaks-navy);
}

@media (max-width: 767.98px) {
    .tracking-hero {
        padding: 3rem 0 6rem;
    }

    .content-wrap {
        margin-top: -3.6rem;
    }

    .search-card-body,
    .result-card-body,
    .result-card-header {
        padding: 1.1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .tracking-timeline {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .timeline-step {
        display: grid;
        grid-template-columns: 48px 1fr;
        gap: 0.8rem;
        align-items: center;
        text-align: left;
    }

    .timeline-step::before {
        top: 48px;
        left: 23px;
        width: 3px;
        height: calc(100% + 0.75rem);
    }

    .timeline-step:first-child::before {
        left: 23px;
        width: 3px;
    }

    .timeline-step:last-child::before {
        display: none;
    }

    .timeline-icon {
        margin-bottom: 0;
    }

    .btn-siphoaks,
    .btn-outline-siphoaks {
        width: 100%;
    }
}
