/* --- TRACK PAGE STYLES --- */

.track-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 50px;
    max-width: 600px;
    margin: 0 auto;
    width: 90%;
}

.track-header { text-align: center; margin-bottom: 40px; }
.track-header h1 { font-family: 'Syncopate', sans-serif; color: white; font-size: 2.5rem; margin: 0; }
.track-header p { color: #888; font-size: 0.8rem; letter-spacing: 2px; margin-top: 10px; }

/* SEARCH BOX */
.search-box {
    display: flex;
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
    transition: 0.3s;
}
.search-box:focus-within { border-color: var(--tapd-gold); box-shadow: 0 0 15px rgba(212, 175, 55, 0.2); }

.search-box input {
    flex: 1; background: transparent; border: none; padding: 15px 20px;
    color: white; font-family: 'Inter', sans-serif; font-size: 1rem; outline: none;
    text-transform: uppercase;
}
.search-box button {
    background: var(--tapd-gold); color: black; border: none; padding: 0 25px;
    font-weight: 700; cursor: pointer; font-family: 'Syncopate', sans-serif;
    transition: 0.3s;
}
.search-box button:hover { background: white; }

/* RESULT CARD */
.track-result { width: 100%; animation: fadeInUp 0.5s ease; }
.result-card {
    background: #111; border: 1px solid #222; border-radius: 12px;
    padding: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.order-meta { display: flex; justify-content: space-between; border-bottom: 1px solid #222; padding-bottom: 20px; margin-bottom: 30px; }
.label { display: block; color: #666; font-size: 0.7rem; margin-bottom: 5px; }
.val { color: var(--tapd-gold); font-family: 'Syncopate', sans-serif; font-weight: bold; }

/* PROGRESS BAR */
.progressbar {
    counter-reset: step;
    padding: 0;
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin-bottom: 40px;
    position: relative;
}

.progressbar li {
    position: relative;
    text-align: center;
    color: #444;
    text-transform: uppercase;
    font-size: 0.7rem;
    width: 25%;
    z-index: 2;
}

.progressbar li::before {
    content: '';
    width: 15px; height: 15px;
    display: block;
    margin: 0 auto 10px auto;
    background: #222;
    border: 2px solid #444;
    border-radius: 50%;
    transition: 0.3s;
}

.progressbar li::after {
    content: '';
    position: absolute;
    width: 100%; height: 2px;
    background: #222;
    top: 7px; left: -50%;
    z-index: -1;
    transition: 0.3s;
}
.progressbar li:first-child::after { content: none; }

/* Active States */
.progressbar li.active { color: white; font-weight: bold; }
.progressbar li.active::before { background: var(--tapd-gold); border-color: var(--tapd-gold); box-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
.progressbar li.active::after { background: var(--tapd-gold); }

/* DETAILS */
.tracking-details { background: #080808; padding: 15px; border-radius: 6px; margin-bottom: 20px; }
.detail-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: #888; margin-bottom: 5px; }
.detail-row:last-child { margin-bottom: 0; }

.order-items { border-top: 1px solid #222; border-bottom: 1px solid #222; padding: 20px 0; margin-bottom: 20px; }
.item-mini { display: flex; gap: 15px; margin-bottom: 15px; align-items: center; }
.item-mini:last-child { margin-bottom: 0; }
.item-mini img { width: 50px; height: 50px; object-fit: contain; background: #222; border-radius: 4px; }

.total-row { display: flex; justify-content: space-between; font-size: 1.1rem; color: white; font-weight: bold; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
