/* =============================================
   TRACKING PAGE — UI Redesign 2026
   ============================================= */

:root {
    --accent-color: #008fd7;
    --accent-light: #00aee9;
    --success-color: #008558;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #0f4d95;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-light: #e2e8f0;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --card-border: rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] {
    --accent-color: #0ea5e9;
    --text-primary: #f8fafc;
    --text-secondary: rgba(248, 250, 252, 0.86);
    --text-muted: rgba(248, 250, 252, 0.72);
    --bg-light: rgba(255, 255, 255, 0.04);
    --card-bg: rgba(255, 255, 255, 0.035);
    --card-border: rgba(255, 255, 255, 0.12);
}

/* ---- Hero ---- */
.trk-hero {
    background: linear-gradient(180deg, #0d1333 0%, #0a0f29 100%);
    margin-top: 0;
    padding: 72px 0 56px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trk-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(0, 143, 215, 0.14) 0%, transparent 52%);
    pointer-events: none;
}

.trk-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.trk-hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    margin: 0 auto 18px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(0, 143, 215, 0.10);
    color: var(--pf-blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trk-hero-label i {
    font-size: 1rem;
}

.trk-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}

.trk-hero-sub {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.75;
    margin: 0;
}

/* ---- Main Section ---- */
.trk-main {
    padding: 56px 0 80px;
}

/* ---- Form Card ---- */
.trk-form-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 34px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.08);
}

.trk-form-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.trk-form-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    /* background: #ecfdf5; */
    color: var(--success-color);
    font-size: 0.8125rem;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.trk-form-chip i {
    font-size: 1rem;
}

.trk-form-top-sub {
    margin: 8px 0 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.trk-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    /* background: #f8fafc; */
    color: var(--accent-color);
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.trk-form-badge i {
    color: var(--accent-color);
    font-size: 1rem;
}

.trk-form-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.trk-form-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border: 1px solid #e2e8f0;
    border-radius: 16px; 
    /* background: #eff6ff; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.trk-form-head h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin: 0 0 4px;
}

.trk-form-head p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

.trk-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.trk-label i {
    color: #0f4d95;
    margin-right: 6px;
}

.trk-input {
    width: 100%;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    color: #0f172a;
    font-size: 0.95rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.trk-input:focus {
    outline: none;
    border-color: #0b6ecf;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.trk-input::placeholder {
    color: #64748b;
    opacity: 0.85;
}

[data-theme="dark"] .trk-input,
[data-theme="dark"] .tracking-input {
    color: #f8fafc !important;
    caret-color: #f8fafc;
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .trk-input::placeholder,
[data-theme="dark"] .tracking-input::placeholder {
    color: rgba(248, 250, 252, 0.68);
}

[data-theme="dark"] .trk-input:-webkit-autofill,
[data-theme="dark"] .trk-input:-webkit-autofill:hover,
[data-theme="dark"] .trk-input:-webkit-autofill:focus,
[data-theme="dark"] .tracking-input:-webkit-autofill,
[data-theme="dark"] .tracking-input:-webkit-autofill:hover,
[data-theme="dark"] .tracking-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f8fafc;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.04) inset;
}

.trk-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ---- Track Button ---- */
.btn-track {
    width: 100%;
    min-height: 56px;
    padding: 0 22px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.25s, transform 0.2s, box-shadow 0.25s;
    position: relative;
}

.btn-track:hover {
    opacity: 0.97;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 143, 215, 0.18);
}

.btn-track:active {
    transform: translateY(0);
}

.btn-track:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.btn-track .spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2.5px solid rgba(255, 255, 255, 0.48);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: trk-spin 0.7s linear infinite;
}

.btn-track .btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-track .btn-text i {
    font-size: 1.1rem;
    line-height: 1;
}

.btn-track.loading .spinner {
    display: block;
}

.btn-track.loading .btn-text {
    opacity: 0.75;
}

@keyframes trk-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Error Box ---- */
.trk-error-box {
    display: none;
    align-items: flex-start;
    gap: 16px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 20px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.trk-error-box.show {
    display: flex;
}

.trk-error-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 1.375rem;
}

.trk-error-body h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ef4444;
    margin: 0 0 6px;
}

.trk-error-body > p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 12px;
}

.trk-error-tips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.trk-error-tips li {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.trk-error-tips li i {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 1px;
}

/* ---- Result Container ---- */
.tracking-result {
    display: none;
}

.tracking-result.show {
    display: block;
    animation: trk-fade-in 0.45s ease;
}

@keyframes trk-fade-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Result Card (Shared) ---- */
.trk-result-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.trk-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.trk-section-head i {
    color: var(--accent-color);
    margin-right: 7px;
}

.trk-section-sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0 0 16px;
}

/* ---- Status Alert Header ---- */
.trk-status-alert {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 20px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.alert-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #34d399);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.alert-ref {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.alert-ref strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ---- Progress Timeline Card ---- */
.progress-timeline-card {
    margin-bottom: 20px;
}

.progress-timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.progress-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.progress-title i {
    color: var(--accent-color);
}

.progress-percentage {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--accent-color);
}

.progress-steps-wrapper {
    margin-bottom: 16px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-light);
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
    z-index: 1;
    text-align: center;
}

.progress-step-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.progress-step.completed .progress-step-marker {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-color: var(--accent-color);
    color: #ffffff;
}

.progress-step.current .progress-step-marker {
    background: rgba(0, 143, 215, 0.15);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(0, 143, 215, 0.1);
    animation: trk-pulse 2s ease-in-out infinite;
}

.progress-step.pending .progress-step-marker {
    background: var(--bg-light);
    border-color: var(--border-light);
    color: var(--text-muted);
}

@keyframes trk-pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(0, 143, 215, 0.1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 143, 215, 0.05);
    }
}

.progress-step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.progress-step.completed .progress-step-label {
    color: var(--accent-color);
}

.progress-step.current .progress-step-label {
    color: var(--text-primary);
    font-weight: 700;
}

.progress-bar-wrapper {
    height: 8px;
    background: var(--border-light);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-bar-fill.progress-done {
    background: linear-gradient(90deg, #10b981, #34d399);
}

/* ---- Order Info Grid (3 Columns) ---- */
.order-info-card {
    margin-bottom: 20px;
}

.order-info-grid-3col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.order-info-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    text-align: center;
}

.order-info-box .info-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0;
}

.order-info-box .info-label i {
    color: var(--accent-color);
    font-size: 0.875rem;
}

.order-info-box .info-value {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    word-break: break-word;
}

/* ---- Timeline Section ---- */
.trk-timeline-card {
    margin-bottom: 20px;
}

.tracking-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 32px;
    margin-top: 12px;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-light);
}

.tracking-timeline::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    width: 2px;
    height: var(--timeline-progress, 0px);
    background: linear-gradient(to bottom, var(--accent-color), var(--accent-light));
    transition: height 0.6s ease;
}

.timeline-item {
    position: relative;
    padding: 4px 0 20px 16px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    z-index: 2;
    border: 2px solid var(--border-light);
    background: var(--card-bg);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.timeline-item.completed .timeline-marker {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-color: var(--accent-color);
    color: #ffffff;
}

.timeline-item.current .timeline-marker {
    background: rgba(0, 143, 215, 0.15);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(0, 143, 215, 0.15);
    animation: trk-pulse 1.8s ease-in-out infinite;
}

.timeline-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.timeline-item.pending .timeline-content h4 {
    color: var(--text-muted);
    font-weight: 400;
}

.current-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(0, 143, 215, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(0, 143, 215, 0.3);
}

.timeline-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.timeline-date i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* ---- Delivery Info Card ---- */
.delivery-card {
    display: none;
}

.delivery-card.show {
    display: block;
}

.delivery-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.delivery-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.delivery-detail-row:last-child {
    border-bottom: none;
}

.delivery-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 120px;
    flex-shrink: 0;
}

.delivery-label i {
    color: var(--accent-color);
    font-size: 0.95rem;
}

.delivery-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}

/* ---- Delivery Status Badge ---- */
.delivery-status-badge,
.expedition-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(0, 143, 215, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(0, 143, 215, 0.25);
}

.delivery-status-badge.status-waiting,
.expedition-status-badge.exp-waiting {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.3);
}

.delivery-status-badge.status-transit,
.expedition-status-badge.exp-transit {
    background: rgba(6, 182, 212, 0.1);
    color: #22d3ee;
    border-color: rgba(6, 182, 212, 0.25);
}

.delivery-status-badge.status-delivered,
.expedition-status-badge.exp-delivered {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.25);
}

/* ---- Expedition Card ---- */
.expedition-info-card {
    display: none;
}

.expedition-info-card.show {
    display: block;
}

.expedition-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.expedition-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.expedition-header-text h5 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.expedition-header-text p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

.expedition-brand-banner {
    display: none;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 10px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    margin-bottom: 16px;
}

.expedition-brand-banner.show {
    display: flex;
}

.brand-logo-circle {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 143, 215, 0.15);
    color: var(--accent-color);
    font-size: 1.125rem;
    font-weight: 800;
    flex-shrink: 0;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.expedition-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.expedition-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.expedition-detail-row:last-child {
    border-bottom: none;
}

.expedition-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 140px;
    flex-shrink: 0;
}

.expedition-label i {
    color: var(--accent-color);
    font-size: 0.95rem;
}

.expedition-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}

.expedition-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 143, 215, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(0, 143, 215, 0.2);
    font-size: 0.8125rem;
    font-weight: 600;
}

.exp-resi-number {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.06em;
}

/* ---- Deadline Card ---- */
.deadline-card {
    display: none;
}

.deadline-card.show {
    display: block;
}

.trk-deadline-body {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trk-deadline-date {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.trk-deadline-date .day {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
}

.trk-deadline-date .month-year {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0.85;
}

.trk-deadline-detail h5 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.trk-deadline-detail > p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0 0 10px;
}

.deadline-countdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    background: rgba(0, 143, 215, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(0, 143, 215, 0.2);
}

.deadline-countdown.completed {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.25);
}

.deadline-countdown.on-time {
    background: rgba(16, 185, 129, 0.08);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.2);
}

.deadline-countdown.urgent {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.25);
    animation: trk-pulse 1.8s ease-in-out infinite;
}

.deadline-countdown.overdue {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.25);
}

/* ---- CTA Actions Section ---- */
.trk-actions-section {
    max-width: 760px;
    margin: 24px auto 32px;
    padding: 0;
}

.cta-buttons-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-btn {
    flex: 1;
    min-width: 160px;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cta-btn i {
    font-size: 1.1rem;
}

.cta-btn.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    border: 1px solid #25d366;
}

.cta-btn.btn-whatsapp:hover {
    background: #1fbb57;
    border-color: #1fbb57;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 211, 102, 0.2);
}

.cta-btn.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: #ffffff;
    border: 1px solid var(--accent-color);
}

.cta-btn.btn-primary:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 143, 215, 0.2);
}

/* ---- Result Actions ---- */
.trk-actions {
    display: flex;
    justify-content: center;
    padding: 8px 0 4px;
    max-width: 760px;
    margin: 16px auto 0;
}

.trk-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--accent-color);
    border: 1.5px solid var(--accent-color);
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.trk-btn-secondary:hover {
    background: var(--accent-color);
    color: #fff;
}


/* ---- Responsive ---- */
@media (max-width: 768px) {
    .trk-hero {
        padding: 52px 0 40px;
    }

    .trk-hero-title {
        font-size: 1.875rem;
    }

    .trk-main {
        padding: 36px 0 60px;
    }

    .trk-form-card {
        padding: 16px 14px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .trk-form-head {
        gap: 12px;
        margin-bottom: 16px;
    }

    .trk-form-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 1.1rem;
    }

    .trk-form-head h3 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }

    .trk-form-head p {
        font-size: 0.8rem;
    }

    .trk-result-card {
        padding: 16px 14px;
        border-radius: 12px;
    }

    .order-info-grid-3col {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .progress-steps {
        flex-wrap: wrap;
    }

    .progress-step {
        flex: 0 1 calc(50% - 6px);
    }

    .progress-step .progress-step-marker {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .progress-step-label {
        font-size: 0.7rem;
    }

    .delivery-detail-row,
    .expedition-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 0;
    }

    .delivery-value,
    .expedition-value {
        text-align: left;
    }

    .cta-buttons-group {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
    }

    .howto-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .howto-item h4 {
        font-size: 0.875rem;
    }

    .howto-item p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .trk-hero-title {
        font-size: 1.5rem;
    }

    .trk-form-card {
        padding: 12px 10px;
    }

    .btn-track {
        padding: 0 16px;
    }

    .progress-step-marker {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .trk-status-alert {
        padding: 16px 12px;
        gap: 12px;
    }

    .alert-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .alert-title {
        font-size: 0.9375rem;
    }

    .howto-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

.trk-public-note-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 26px;
    border: 1px solid #e8eef5;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.trk-public-note-content {
    background: #f8fafc;
    border: 1px solid #e5edf5;
    border-radius: 14px;
    padding: 18px 20px;
}

.trk-public-note-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 12px;
}

.trk-public-note-highlight {
    font-size: 13px;
    color: #ef4444;
    font-weight: 600;
    line-height: 1.6;
}

/* supaya progress hanya 4 kolom */
.progress-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
}

.progress-step-label {
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
}

@media (max-width: 768px) {
    .progress-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

.trk-progress-note {
    margin-top: 24px;
    margin-bottom: 20px;
    background: #f8fafc;
    border: 1px solid #e5edf5;
    border-radius: 14px;
    padding: 18px 22px;
}

.trk-progress-note-text {
    font-size: 13px;
    color: #64748b;
    line-height: 1.65;
}

.trk-progress-note-text p {
    margin: 0 0 12px;
}

.trk-progress-note-text p:last-child {
    margin-bottom: 0;
}

.trk-progress-note-text ul {
    margin: 8px 0 12px;
    padding-left: 18px;
}

.trk-progress-note-text li {
    margin-bottom: 6px;
}

.trk-progress-note-text strong {
    color: #0f172a;
    font-weight: 800;
}

.trk-note-title {
    color: #ef4444;
    font-weight: 800;
    margin-top: 12px !important;
    margin-bottom: 6px !important;
}

[data-theme="dark"] .trk-progress-note {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .trk-progress-note-text {
    color: #cbd5e1;
}

[data-theme="dark"] .trk-progress-note-text strong {
    color: #ffffff;
}

/* Modern tracking result layout */
.tracking-result {
    max-width: 880px;
    margin: 0 auto;
}

/* Alert */
.trk-modern-alert {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    border-radius: 16px;
    background: var(--bg-light);
    border: 1px solid #bbf7d0;
    margin-bottom: 24px;
}

.alert-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.alert-status-pill {
    padding: 8px 16px;
    border-radius: 999px;
    background: #e8f5ff;
    color: #008fd7;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

/* Progress card */
.trk-modern-progress-card {
    padding: 42px 44px 34px;
    border-radius: 18px;
    border: 1px solid #e8eef5;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.trk-modern-progress-card .progress-timeline-header {
    display: none;
}

.trk-modern-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.trk-modern-steps::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 12%;
    right: 12%;
    height: 3px;
    background: #e5eaf0;
    z-index: 0;
}

.trk-modern-steps .progress-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.trk-modern-steps .progress-step-marker {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    margin: 0 auto 12px;
    border: 3px solid #e5eaf0;
    background: #fff;
    color: #b5bfcc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.trk-modern-steps .progress-step.completed .progress-step-marker,
.trk-modern-steps .progress-step.current .progress-step-marker {
    background: #008fd7;
    border-color: #008fd7;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 143, 215, 0.25);
}

.trk-modern-steps .progress-step-label {
    color: #9aa5b5;
    font-weight: 800;
    font-size: 14px;
}

.trk-modern-steps .progress-step.completed .progress-step-label,
.trk-modern-steps .progress-step.current .progress-step-label {
    color: #008fd7;
}

/* Note */
.trk-progress-note {
    margin-top: 32px;
    margin-bottom: 24px;
    background: #f8fafc;
    border: 1px solid #e5edf5;
    border-radius: 14px;
    padding: 18px 22px;
}

.trk-progress-note-text {
    font-size: 14px;
    color: #8a94a6;
    line-height: 1.65;
    font-weight: 600;
}

.trk-progress-note-text p {
    margin: 0 0 12px;
}

.trk-progress-note-text ul {
    margin: 8px 0 12px;
    padding-left: 20px;
}

.trk-note-title {
    color: #ef4444;
    font-weight: 800;
}

/* Progress bottom */
.trk-progress-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
    color: #64748b;
    font-weight: 700;
}

.trk-progress-bottom strong {
    color: #008fd7;
    font-weight: 900;
}

.trk-modern-progress-bar {
    height: 10px;
    background: #edf2f7;
    border-radius: 999px;
    overflow: hidden;
}

.trk-progress-date-row {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 12px;
    color: #a0a8b8;
}

/* Info card */
.trk-modern-info-card {
    padding: 28px 34px;
    border-radius: 18px;
    border: 1px solid #e8eef5;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.trk-info-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.trk-info-head h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    color: var(--text-heading);
    line-height: 1.1;
}

.trk-info-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff7ed;
    color: #f97316;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.order-info-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.order-info-box {
    background: var(--bg-light);
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 20px;
}

.info-label {
    font-size: 12px;
    font-weight: 800;
    color: #9aa5b5;
    letter-spacing: .04em;
    margin-bottom: 12px;
}

.info-label i {
    color: #008fd7;
}

.info-value {
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
}

.info-sub {
    margin-top: 6px;
    font-size: 12px;
    color: #9aa5b5;
}

.trk-info-divider {
    height: 1px;
    background: #edf2f7;
    margin: 28px 0;
}

.trk-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.trk-detail-label {
    font-size: 12px;
    font-weight: 900;
    color: var(--text-secondary);
    letter-spacing: .06em;
    margin-bottom: 14px;
}

.trk-detail-content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.trk-detail-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.trk-detail-icon.green {
    background: var(--bg-light);
    color: #16a34a;
}

.trk-detail-icon.blue {
    background: var(--bg-light);
    color: #008fd7;
}

.trk-detail-content h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 900;
    color: var(--text-secondary);
}

.trk-detail-content p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

.trk-detail-content .trk-product-qty {
    margin-bottom: 4px;
    color: var(--text-secondary);
    font-weight: 800;
}

/* Help strip */
.trk-help-strip {
    margin-top: 26px;
    background: var(--bg-light);
    padding: 22px 28px;
    border-radius: 18px;
    border: 1px solid #e8eef5;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trk-help-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trk-help-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--bg-light);
    color: #008fd7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.trk-help-left h4 {
    margin: 0 0 3px;
    font-size: 16px;
    font-weight: 900;
    color: var(--text-secondary);
}

.trk-help-left p {
    margin: 0;
    font-size: 13px;
    color: #9aa5b5;
}

.trk-help-actions {
    display: flex;
    gap: 12px;
}

.trk-help-btn {
    border: none;
    border-radius: 14px;
    padding: 13px 22px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trk-help-btn.whatsapp {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #edf2f7;
}

.trk-help-btn.primary {
    background: #008fd7;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 143, 215, 0.24);
}

@media (max-width: 768px) {
    .trk-modern-alert {
        flex-direction: column;
        align-items: flex-start;
    }

    .trk-modern-progress-card,
    .trk-modern-info-card {
        padding: 24px 20px;
    }

    .order-info-grid-3col,
    .trk-detail-grid {
        grid-template-columns: 1fr;
    }

    .trk-help-strip {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .trk-help-actions {
        flex-direction: column;
    }
}

/* =============================================
   GUIDE / HOW TO SECTION
   ============================================= */

.trk-guide-section {
    padding: 110px 0 90px;
    background: #ffffff;
}

.trk-guide-inner {
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.trk-guide-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    border-radius: 999px;
    /* background: #e8f5ff; */
    color: #008fd7;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 26px;
}

.trk-guide-title {
    font-size: 42px;
    font-weight: 900;
    color: #111827;
    line-height: 1.15;
    margin: 0 0 18px;
}

.trk-guide-subtitle {
    font-size: 19px;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 auto 90px;
}

/* Steps */
.trk-guide-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    align-items: start;
}

.trk-guide-line {
    position: absolute;
    top: 54px;
    left: 17%;
    right: 17%;
    height: 2px;
    background: #eef2f600;
    z-index: 0;
}

.trk-guide-item {
    position: relative;
    z-index: 1;
    text-align: center;
}

.trk-guide-icon-box {
    width: 92px;
    height: 92px;
    margin: 0 auto 38px;
    border-radius: 22px;
    background: #eaf7ff;
    color: #008fd7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    box-shadow: 0 20px 35px rgba(0, 143, 215, 0.12);
}

.trk-guide-number {
    width: 34px;
    height: 34px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #008fd7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

.trk-guide-item h4 {
    font-size: 19px;
    font-weight: 900;
    color: #111827;
    margin: 0 0 22px;
}

.trk-guide-item p {
    font-size: 17px;
    color: #9aa3b2;
    line-height: 1.65;
    margin: 0;
}

/* Dark mode */
[data-theme="dark"] .trk-guide-section {
    background: #0f172a;
}

[data-theme="dark"] .trk-guide-title,
[data-theme="dark"] .trk-guide-item h4 {
    color: #ffffff;
}

[data-theme="dark"] .trk-guide-subtitle,
[data-theme="dark"] .trk-guide-item p {
    color: #cbd5e1;
}

[data-theme="dark"] .trk-guide-line {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .trk-guide-icon-box {
    background: rgba(0, 143, 215, 0.15);
}

/* Responsive */
@media (max-width: 992px) {
    .trk-guide-title {
        font-size: 34px;
    }

    .trk-guide-subtitle {
        font-size: 16px;
        margin-bottom: 60px;
    }

    .trk-guide-steps {
        gap: 28px;
    }

    .trk-guide-item p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .trk-guide-section {
        padding: 70px 0;
    }

    .trk-guide-steps {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .trk-guide-line {
        display: none;
    }

    .trk-guide-icon-box {
        margin-bottom: 24px;
    }

    .trk-guide-subtitle br,
    .trk-guide-item p br {
        display: none;
    }
}

/* ============================================================
   Final mobile pass for the tracking page
   ============================================================ */
@media (max-width: 768px) {
    .trk-hero {
        padding: 34px 0 30px;
    }

    .trk-hero-inner {
        max-width: 100%;
        padding: 0 8px;
    }

    .trk-hero-label {
        margin-bottom: 12px;
        padding: 7px 13px;
        font-size: 0.64rem;
        letter-spacing: 0.06em;
    }

    .trk-hero-title {
        margin-bottom: 10px;
        font-size: clamp(1.65rem, 8vw, 2.15rem);
        line-height: 1.08;
    }

    .trk-hero-sub {
        max-width: 330px;
        margin: 0 auto;
        color: rgba(248, 250, 252, 0.78);
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .trk-hero-sub br {
        display: none;
    }

    .trk-main {
        padding: 22px 0 42px;
    }

    .trk-main > .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .trk-form-card,
    .trk-error-box,
    .trk-status-alert,
    .trk-result-card,
    .trk-help-strip {
        width: 100%;
        max-width: none;
    }

    .trk-form-card {
        padding: 16px;
        margin-bottom: 16px;
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    }

    .trk-form-top {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 16px;
    }

    .trk-form-chip,
    .trk-form-badge {
        padding: 8px 10px;
        font-size: 0.72rem;
    }

    .trk-form-badge {
        white-space: nowrap;
    }

    .trk-form-top-sub {
        margin-top: 6px;
        font-size: 0.76rem;
    }

    .trk-form-head {
        gap: 10px;
        margin-bottom: 18px;
    }

    .trk-form-icon {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .trk-label {
        margin-bottom: 7px;
        font-size: 0.8rem;
    }

    .trk-input {
        min-height: 46px;
        padding: 12px 13px;
        border-radius: 11px;
        font-size: 0.86rem;
    }

    .trk-hint {
        margin-top: 5px;
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .btn-track {
        min-height: 48px;
        border-radius: 12px;
        font-size: 0.88rem;
    }

    .trk-error-box {
        gap: 12px;
        padding: 14px;
        border-radius: 14px;
    }

    .trk-error-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 1.2rem;
    }

    .trk-error-tips li {
        font-size: 0.74rem;
        line-height: 1.4;
    }

    .tracking-result {
        max-width: none;
    }

    .trk-modern-alert {
        gap: 12px;
        padding: 14px;
        border-radius: 14px;
    }

    .alert-left {
        align-items: flex-start;
        gap: 10px;
        min-width: 0;
    }

    .alert-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 1.15rem;
    }

    .alert-ref {
        display: block;
        overflow-wrap: anywhere;
        line-height: 1.45;
    }

    .alert-status-pill {
        align-self: flex-start;
        padding: 7px 12px;
        font-size: 0.72rem;
        white-space: normal;
    }

    .trk-modern-progress-card,
    .trk-modern-info-card {
        padding: 18px 14px;
        border-radius: 15px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    }

    .trk-modern-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 18px;
        column-gap: 8px;
    }

    .trk-modern-steps::before {
        display: none;
    }

    .trk-modern-steps .progress-step-marker {
        width: 44px;
        height: 44px;
        margin-bottom: 8px;
        font-size: 1.15rem;
    }

    .trk-modern-steps .progress-step-label {
        font-size: 0.74rem;
        line-height: 1.25;
    }

    .trk-progress-note {
        margin-top: 18px;
        margin-bottom: 16px;
        padding: 13px 14px;
        border-radius: 12px;
    }

    .trk-progress-note-text {
        font-size: 0.78rem;
        line-height: 1.55;
    }

    .trk-progress-bottom,
    .trk-progress-date-row {
        gap: 8px;
        font-size: 0.75rem;
    }

    .trk-progress-date-row {
        flex-direction: column;
        margin-top: 10px;
    }

    .trk-info-head {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 16px;
    }

    .trk-info-head h3 {
        font-size: 1.15rem;
    }

    .trk-info-status-badge {
        padding: 7px 11px;
        font-size: 0.72rem;
    }

    .order-info-grid-3col {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .order-info-box {
        padding: 13px;
        border-radius: 12px;
        text-align: left;
    }

    .order-info-box .info-label,
    .info-label {
        justify-content: flex-start;
        margin-bottom: 8px;
        font-size: 0.68rem;
    }

    .order-info-box .info-value,
    .info-value {
        font-size: 0.95rem;
    }

    .trk-info-divider {
        margin: 18px 0;
    }

    .trk-detail-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trk-detail-label {
        margin-bottom: 9px;
        font-size: 0.68rem;
    }

    .trk-detail-content {
        gap: 11px;
    }

    .trk-detail-icon {
        width: 42px;
        height: 42px;
        border-radius: 11px;
        font-size: 1.2rem;
    }

    .trk-detail-content h4 {
        font-size: 0.92rem;
        line-height: 1.25;
    }

    .trk-detail-content p {
        font-size: 0.76rem;
        line-height: 1.45;
    }

    .trk-help-strip {
        margin-top: 16px;
        padding: 16px;
        border-radius: 15px;
        gap: 14px;
    }

    .trk-help-left {
        align-items: flex-start;
        gap: 11px;
    }

    .trk-help-icon {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 1.15rem;
    }

    .trk-help-left h4 {
        font-size: 0.95rem;
        line-height: 1.25;
    }

    .trk-help-left p {
        font-size: 0.76rem;
    }

    .trk-help-actions {
        gap: 8px;
    }

    .trk-help-btn {
        justify-content: center;
        width: 100%;
        padding: 12px 14px;
        border-radius: 12px;
        font-size: 0.82rem;
    }

    .trk-guide-section {
        padding: 42px 0 34px;
    }

    .trk-guide-inner {
        padding: 0 14px;
    }

    .trk-guide-badge {
        margin-bottom: 12px;
        padding: 7px 16px;
        font-size: 0.7rem;
    }

    .trk-guide-title {
        margin-bottom: 10px;
        font-size: 1.45rem;
        line-height: 1.15;
    }

    .trk-guide-subtitle {
        max-width: 320px;
        margin: 0 auto 28px;
        font-size: 0.86rem;
        line-height: 1.5;
    }

    .trk-guide-steps {
        gap: 18px;
    }

    .trk-guide-item {
        padding: 18px 14px;
        border: 1px solid var(--card-border);
        border-radius: 14px;
        background: var(--card-bg);
        text-align: left;
    }

    .trk-guide-icon-box {
        width: 50px;
        height: 50px;
        margin: 0 0 12px;
        border-radius: 13px;
        font-size: 1.45rem;
    }

    .trk-guide-number {
        position: absolute;
        top: 18px;
        right: 14px;
        width: 28px;
        height: 28px;
        margin: 0;
        font-size: 0.78rem;
    }

    .trk-guide-item h4 {
        margin-bottom: 8px;
        font-size: 0.96rem;
    }

    .trk-guide-item p {
        font-size: 0.78rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .trk-main > .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .trk-form-top {
        flex-direction: column;
    }

    .trk-form-badge {
        align-self: flex-start;
    }

    .trk-form-card {
        padding: 14px 12px;
    }

    .trk-modern-progress-card,
    .trk-modern-info-card,
    .trk-help-strip {
        padding-left: 12px;
        padding-right: 12px;
    }

    .trk-modern-steps .progress-step-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .trk-modern-steps .progress-step-label {
        font-size: 0.68rem;
    }

    .trk-progress-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
