﻿/* ============================================================
   TRACK ORDER — orders.css
   ============================================================ */

.track-hero {
    background: linear-gradient(135deg,#F0ECFF 0%,#EBF1FF 60%,#F5F3FE 100%);
    border-bottom: 1px solid #E0D8FF;
    padding-block: clamp(24px,3.5vw,44px);
    position: relative;
    overflow: hidden;
}

.track-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.track-crumbs {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: var(--muted,#5B6B8C);
    margin-bottom: .6rem;
}

    .track-crumbs a {
        color: var(--muted,#5B6B8C)
    }

        .track-crumbs a:hover {
            color: var(--violet,#6D28D9)
        }

    .track-crumbs span:last-child {
        color: var(--violet,#6D28D9);
        font-weight: 600
    }

.track-hero h1 {
    font-size: clamp(2rem,4.5vw,3rem);
    font-weight: 800;
    color: var(--navy,#0E1B3A);
    line-height: 1.15;
    margin: 0 0 .4rem;
}

.track-hero p {
    color: var(--muted,#5B6B8C);
    font-size: clamp(.88rem,1.5vw,1rem);
    margin: 0;
    max-width: 46ch;
    line-height: 1.6;
}

.track-hero-illo {
    flex: none;
    opacity: .6;
    pointer-events: none;
}

    .track-hero-illo svg {
        width: 190px;
        height: 190px
    }

@media(max-width:700px) {
    .track-hero-illo {
        display: none
    }
}

/* ── Body ─────────────────────────────────────────── */
.track-body {
    background: #fff;
    padding-block: clamp(36px,6vw,64px);
}

.track-shell {
    max-width: 640px;
    margin-inline: auto;
}

.track-panel {
    background: #fff;
    border: 1px solid #EAECF0;
    border-radius: 20px;
    box-shadow: 0 16px 44px -24px rgba(14,27,58,.28);
    padding: clamp(24px,4vw,40px);
}

.track-panel-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #F1EBFF;
    color: var(--violet,#7C52F4);
    margin-bottom: 1.1rem;
}

    .track-panel-icon svg {
        width: 30px;
        height: 30px
    }

.track-panel h2 {
    font-size: clamp(1.2rem,2.4vw,1.5rem);
    font-weight: 800;
    color: var(--navy,#0E1B3A);
    margin: 0 0 .4rem;
}

.track-panel > p {
    color: var(--muted,#5B6B8C);
    font-size: .92rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.track-form {
    display: grid;
    gap: 1rem;
}

.track-field label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: #344054;
    margin-bottom: .4rem;
}

.track-field input {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #EAECF0;
    border-radius: 12px;
    padding: .85rem 1rem;
    font-family: inherit;
    font-size: .95rem;
    color: #101828;
    background: #fff;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

    .track-field input::placeholder {
        color: #98A2B3
    }

    .track-field input:focus {
        border-color: var(--violet,#7C52F4);
        box-shadow: 0 0 0 3px rgba(124,82,244,.12);
    }

.track-hint {
    font-size: .78rem;
    color: #98A2B3;
    margin: .3rem 0 0;
}

.track-submit {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: .9rem 1.5rem;
    margin-top: .3rem;
}

    .track-submit svg {
        width: 18px;
        height: 18px
    }

/* ── Result: not found ────────────────────────────── */
.track-result {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    background: #FEF3F2;
    border: 1px solid #FECDCA;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.5rem;
}

    .track-result .tr-ic {
        flex: none;
        width: 38px;
        height: 38px;
        border-radius: 10px;
        display: grid;
        place-items: center;
        background: #FEE4E2;
        color: #D92D20;
    }

        .track-result .tr-ic svg {
            width: 20px;
            height: 20px
        }

    .track-result strong {
        display: block;
        color: #B42318;
        font-size: .95rem;
        margin-bottom: .2rem;
    }

    .track-result p {
        margin: 0;
        color: #98342B;
        font-size: .85rem;
        line-height: 1.6;
    }

    .track-result code {
        background: rgba(180,35,24,.1);
        border-radius: 5px;
        padding: .05rem .35rem;
        font-weight: 700;
        font-size: .82rem;
    }

/* ── Steps strip ──────────────────────────────────── */
.track-steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin-top: 2rem;
}

.track-step {
    text-align: center;
    padding: 1.1rem .8rem;
    border: 1px solid #EAECF0;
    border-radius: 14px;
    background: #FAFAFF;
}

    .track-step .ts-ic {
        width: 42px;
        height: 42px;
        border-radius: 11px;
        display: grid;
        place-items: center;
        margin: 0 auto .6rem;
        background: #F1EBFF;
        color: var(--violet,#7C52F4);
    }

        .track-step .ts-ic svg {
            width: 20px;
            height: 20px
        }

    .track-step b {
        display: block;
        font-size: .82rem;
        color: var(--navy,#0E1B3A);
        margin-bottom: .15rem;
    }

    .track-step span {
        font-size: .72rem;
        color: #98A2B3;
        line-height: 1.4;
    }

@media(max-width:600px) {
    .track-steps {
        grid-template-columns: repeat(2,1fr)
    }
}

/* ── Help card ────────────────────────────────────── */
.track-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
    background: #F8F7FF;
    border: 1px solid #E9E5FF;
    border-radius: 16px;
    padding: 1.1rem 1.3rem;
}

    .track-help h4 {
        margin: 0 0 .2rem;
        font-size: .95rem;
        font-weight: 700;
        color: var(--navy,#0E1B3A);
    }

    .track-help p {
        margin: 0;
        font-size: .82rem;
        color: var(--muted,#5B6B8C);
    }

    .track-help .btn {
        white-space: nowrap
    }
