/* ── Track Section ── */
.track-section {
    max-width: 600px;
    margin   : 60px auto 100px;
    padding  : 0 20px;
}

/* ── Header ── */
.track-header {
    text-align   : center;
    margin-bottom: 40px;
}

.track-header-icon {
    width          : 64px;
    height         : 64px;
    background     : #fdf6ee;
    border         : 2px solid #e8d5a3;
    border-radius  : 50%;
    display        : flex;
    align-items    : center;
    justify-content: center;
    margin         : 0 auto 20px;
    font-size      : 1.4rem;
    color          : #b5850b;
}

.track-header h2 {
    font-size    : 1.6rem;
    font-weight  : 700;
    color        : #1a1a1a;
    margin-bottom: 12px;
    font-family  : 'Jost', sans-serif;
}

.track-header p {
    font-size  : 0.88rem;
    color      : #777;
    line-height: 1.7;
    font-family: 'Arial', sans-serif;
}

/* ── Card ── */
.track-card {
    background   : #fff;
    border       : 1px solid #e0d9cc;
    border-radius: 8px;
    padding      : 36px 32px;
    box-shadow   : 0 4px 20px rgba(0,0,0,0.05);
}

.track-label {
    display       : block;
    font-size     : 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color         : #999;
    font-family   : 'Arial', sans-serif;
    margin-bottom : 10px;
}

.track-input-row {
    display: flex;
    gap    : 10px;
}

.track-input {
    flex         : 1;
    border       : 1px solid #e0d9cc;
    border-radius: 4px;
    padding      : 13px 16px;
    font-size    : 1rem;
    font-family  : 'Courier New', monospace;
    color        : #1a1a1a;
    background   : #faf6ef;
    outline      : none;
    letter-spacing: 0.05em;
    transition   : border-color 0.2s, box-shadow 0.2s;
}

.track-input:focus {
    border-color: #b5850b;
    box-shadow  : 0 0 0 3px rgba(181,133,11,0.1);
    background  : #fff;
}

.track-input::placeholder { color: #ccc; letter-spacing: 0; }

.track-btn {
    background    : #b5850b;
    color         : #fff;
    border        : none;
    border-radius : 4px;
    padding       : 13px 24px;
    font-size     : 0.78rem;
    font-weight   : 700;
    letter-spacing: 0.1em;
    font-family   : 'Arial', sans-serif;
    cursor        : pointer;
    white-space   : nowrap;
    transition    : background 0.2s;
    display       : flex;
    align-items   : center;
    gap           : 8px;
}

.track-btn:hover    { background: #9a6f09; }
.track-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.track-error {
    margin-top  : 10px;
    font-size   : 0.82rem;
    color       : #e74c3c;
    font-family : 'Arial', sans-serif;
}

/* ── Modal ── */
.track-modal-overlay {
    display        : none;
    position       : fixed;
    inset          : 0;
    background     : rgba(0,0,0,0.5);
    z-index        : 1000;
    align-items    : center;
    justify-content: center;
}

.track-modal-overlay.active { display: flex; }

.track-modal {
    background   : #fffdf8;
    border-radius: 10px;
    width        : 420px;
    max-width    : 95vw;
    padding      : 44px 36px 36px;
    text-align   : center;
    position     : relative;
    box-shadow   : 0 20px 60px rgba(0,0,0,0.15);
    border       : 1px solid #e8d5a3;
}

.track-modal-close {
    position      : absolute;
    top           : 14px;
    right         : 14px;
    background    : transparent;
    border        : none;
    font-size     : 1rem;
    color         : #aaa;
    cursor        : pointer;
    width         : 28px;
    height        : 28px;
    display       : flex;
    align-items   : center;
    justify-content: center;
    border-radius : 50%;
    transition    : background 0.15s, color 0.15s;
}

.track-modal-close:hover { background: #f5ede0; color: #b5850b; }

.track-modal-icon {
    font-size    : 3rem;
    margin-bottom: 16px;
}

.track-icon-error { color: #e74c3c; }

.track-modal-title {
    font-size     : 1.1rem;
    font-weight   : 700;
    color         : #1a1a1a;
    margin-bottom : 20px;
    font-family   : 'Jost', sans-serif;
}

.track-modal-desc {
    font-size  : 0.85rem;
    color      : #777;
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

/* ── Info Rows ── */
.track-info-row {
    display        : flex;
    justify-content: space-between;
    align-items    : center;
    padding        : 10px 0;
    border-bottom  : 1px solid #f0ebe0;
    text-align     : left;
}

.track-info-row:last-of-type { border-bottom: none; }

.track-info-label {
    font-size     : 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color         : #aaa;
    font-family   : 'Arial', sans-serif;
}

.track-info-value {
    font-size  : 0.95rem;
    font-weight: 700;
    color      : #1a1a1a;
    font-family: 'Courier New', monospace;
}

/* ── Status Badge ── */
.track-status-badge {
    display      : inline-block;
    padding      : 4px 12px;
    border-radius: 4px;
    font-size    : 0.8rem;
    font-weight  : 700;
    font-family  : 'Arial', sans-serif;
    border       : 1px solid transparent;
}

/* ── Status Description ── */
.track-status-desc {
    margin-top : 16px;
    font-size  : 0.82rem;
    color      : #777;
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
    text-align : left;
    background : #faf6ef;
    border     : 1px solid #e8d5a3;
    border-left: 4px solid #b5850b;
    border-radius: 3px;
    padding    : 12px 14px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .track-card         { padding: 24px 20px; }
    .track-input-row    { flex-direction: column; }
    .track-btn          { justify-content: center; }
    .track-modal        { padding: 36px 24px 28px; }
}