

body {
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
    color: #334155;
    margin: 0;
}

.track-hero-section {
    padding: 100px 0 160px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%),
                url('../assets/images/hero/main.png') center/cover no-repeat;
    text-align: center;
    color: #fff;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.track-hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.track-hero-container h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.track-hero-container p {
    font-size: 16px;
    color: #bfdbfe;
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.5;
}

.track-main-container {
    max-width: 1050px;
    margin: -80px auto 40px;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    gap: 32px;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.track-form-side {
    width: 420px;
    flex-shrink: 0;
}

.track-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 12px 24px -4px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.track-card h2 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.track-card p.subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.form-group label span {
    color: #ef4444;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper svg {
    position: absolute;
    left: 14px;
    color: #94a3b8;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.input-wrapper input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-wrapper input::placeholder {
    color: #94a3b8;
}

.btn-track {
    width: 100%;
    padding: 14px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 16px;
}

.btn-track:hover {
    background: #1d4ed8;
}

.track-terms {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    line-height: 1.5;
}

.track-terms a {
    color: #3b82f6;
    text-decoration: none;
}

.help-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

.help-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.help-box-icon {
    width: 32px;
    height: 32px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-box-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.help-box p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px;
}

.btn-outline-blue {
    display: inline-flex;
    padding: 8px 16px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #3b82f6;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-outline-blue:hover {
    background: #f1f5f9;
}

.track-results-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.track-results-side.show-results {
    opacity: 1;
    transform: translateX(0);
}

.result-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 24px -4px rgba(0,0,0,0.05);
    overflow: hidden;
}

.result-header-success {
    background: #f0fdf4;
    padding: 16px 24px;
    border-bottom: 1px solid #dcfce3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-success {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #16a34a;
    font-size: 13px;
    font-weight: 600;
}

.badge-active {
    background: #dcfce3;
    color: #16a34a;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.result-body {
    padding: 24px;
}

.policy-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.policy-head h3 {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 4px;
}

.policy-head .pol-num {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.product-type {
    display: inline-block;
    padding: 6px 12px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}

.policy-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.detail-item span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 4px;
}

.detail-item strong {
    font-size: 14px;
    color: #0f172a;
    font-weight: 600;
}

.quick-actions-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 24px;
}

.quick-actions-box h4 {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin: 0 0 16px;
}

.actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #f1f5f9;
}

.action-btn.solid-blue {
    background: #2563eb;
    color: #fff;
    border: none;
}

.action-btn.solid-blue:hover {
    background: #1d4ed8;
}

.result-card.error-card {
    border-left: 4px solid #ef4444;
}

.result-body.error-body {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.error-icon-wrapper {
    width: 32px;
    height: 32px;
    background: #fef2f2;
    color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.error-content h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.error-content p {
    margin: 0 0 16px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

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

.btn-gray-light {
    padding: 8px 16px;
    background: #f1f5f9;
    color: #ef4444;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-outline-gray {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.why-track-section {
    padding: 40px 0 80px;
    text-align: center;
}

.why-track-section h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.why-track-section p.subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 40px;
}

.features-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 24px;
    border: 1px solid #e2e8f0;
}

.feat-icon-wrapper {
    width: 48px;
    height: 48px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feat-icon-wrapper.blue { color: #3b82f6; background: #eff6ff; }
.feat-icon-wrapper.green { color: #10b981; background: #ecfdf5; }

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .track-main-container {
        flex-direction: column;
        margin-top: -40px;
    }
    .track-form-side {
        width: 100%;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .policy-details-grid, .actions-grid {
        grid-template-columns: 1fr;
    }
}

a { text-decoration: none; }

.footer {
    background: #0f172a;
    padding: 72px 0 32px;
    color: #94a3b8;
    border-top: 1px solid #1e293b;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand img {
    height: 36px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
    color: #64748b;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-row svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-row span {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

.footer-links h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    margin-bottom: 10px;
    color: #94a3b8;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-newsletter h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.footer-newsletter p {
    font-size: 13px;
    margin-bottom: 16px;
    color: #64748b;
    line-height: 1.5;
}

.newsletter-input {
    display: flex;
}

.newsletter-input input {
    flex: 1;
    padding: 11px 14px;
    border-radius: 10px 0 0 10px;
    border: 1px solid #334155;
    border-right: none;
    background: #1e293b;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input input:focus {
    border-color: #0284c7;
}

.newsletter-input input::placeholder {
    color: #64748b;
}

.newsletter-input button {
    padding: 0 20px;
    border: none;
    background: #0284c7;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    transition: background 0.25s;
}

.newsletter-input button:hover {
    background: #0369a1;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 13px;
    color: #475569;
}

@media (max-width: 768px) {
    .track-hero { padding: 100px 20px 40px !important; }
    .track-container { padding: 20px 16px !important; }
    .track-grid { grid-template-columns: 1fr !important; }
    .track-card { padding: 20px !important; }
    .track-result-header { flex-direction: column !important; gap: 12px; }
    .track-policy-details { grid-template-columns: 1fr !important; }
    .track-timeline { padding-left: 16px !important; }
}

@media (max-width: 768px) {

    .track-hero {
        padding: 90px 24px 32px !important;
        min-height: auto !important;
    }

    .track-hero-title {
        font-size: 26px !important;
        font-weight: 800 !important;
        margin-bottom: 8px !important;
    }

    .track-hero-sub {
        font-size: 14px !important;
        color: #64748b !important;
    }

    .track-container,
    .track-page-container {
        padding: 20px 16px 80px !important;
    }

    .track-search-card {
        border-radius: 14px !important;
        padding: 20px !important;
        margin-bottom: 16px !important;
    }

    .track-search-input {
        width: 100% !important;
        padding: 14px 16px !important;
        border-radius: 10px !important;
        font-size: 16px !important;
        border: 2px solid #e2e8f0 !important;
        margin-bottom: 10px !important;
    }

    .track-search-btn {
        width: 100% !important;
        min-height: 50px !important;
        border-radius: 10px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        justify-content: center !important;
    }

    .track-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .track-card {
        border-radius: 14px !important;
        padding: 18px !important;
    }

    .track-result-header {
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        margin-bottom: 16px !important;
    }

    .track-status-badge {
        font-size: 12px !important;
        padding: 6px 14px !important;
        border-radius: 999px !important;
        font-weight: 700 !important;
    }

    .track-policy-details {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .track-detail-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
        font-size: 13px !important;
    }
    .track-detail-row:last-child { border-bottom: none !important; }

    .track-detail-label { color: #64748b !important; }
    .track-detail-value { font-weight: 600 !important; color: #0f172a !important; }

    .track-timeline {
        padding-left: 16px !important;
        border-left: 2px solid #e2e8f0 !important;
        margin-left: 8px;
    }

    .timeline-item {
        padding: 0 0 16px 16px !important;
        position: relative;
    }

    .timeline-item::before {
        content: '';
        position: absolute;
        left: -8px;
        top: 4px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #0284c7;
    }

    .timeline-item h4 { font-size: 13px !important; font-weight: 700 !important; }
    .timeline-item p { font-size: 12px !important; color: #64748b; }
    .timeline-date { font-size: 11px !important; color: #94a3b8; }
}

@media (max-width: 768px) {
    .container,
    [class$="-container"],
    [class*="hero-container"],
    [class*="page-container"],
    [class*="section-container"],
    .checkout-grid,
    .quote-main {
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

