
.track-card {
    background: white;
    border-radius: var(--r-md);
    border: 1px solid #e3ddd3;
    overflow: hidden;
    box-shadow: var(--shadow-1);
    margin: 2.5rem 0;
}
.track-card-header {
    background: #1a2332;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.track-card-title {
    font-family: 'Crimson Pro', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0;
}
.track-card-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    margin: 0.2rem 0 0;
}
.track-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--r-md);
    font-size: 0.8rem;
    font-weight: 700;
}
.track-status-pill.not-started { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
.track-status-pill.in-progress { background: rgba(163, 97, 26,0.2); color: #d9a441; }
.track-status-pill.complete    { background: rgba(31, 122, 92,0.2);  color: #6ee7b7; }

.progress-steps {
    padding: 1.75rem 1.75rem 0;
    display: flex;
    align-items: flex-start;
}
.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
}
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 19px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e3ddd3;
    z-index: 0;
    transition: background 0.4s ease;
}
.step.done:not(:last-child)::after,
.step.active:not(:last-child)::after { background: #ff6b4a; }
.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #e3ddd3;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 1;
    transition: all 0.3s ease;
    position: relative;
}
.step.active .step-circle { border-color: #ff6b4a; background: #fff5f3; color: #ff6b4a; }
.step.done  .step-circle  { border-color: #1f7a5c; background: #1f7a5c; color: white; }
.step-label {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #99a2b0;
    text-align: center;
    transition: color 0.3s ease;
}
.step-desc {
    font-size: 0.72rem;
    color: #c4cad4;
    text-align: center;
    margin-top: 0.2rem;
    line-height: 1.4;
}
.step.active .step-label { color: #ff6b4a; }
.step.active .step-desc  { color: #99a2b0; }
.step.done  .step-label  { color: #1f7a5c; }
.step.done  .step-desc   { color: #6ee7b7; }

.track-next-hint {
    font-size: 0.78rem;
    color: #99a2b0;
    text-align: center;
    margin: 0.75rem 0 0;
    padding: 0 1.75rem;
    min-height: 1.2em;
}
.track-actions {
    padding: 1.25rem 1.75rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-top: 0.75rem;
    border-top: 1px solid #f2ede5;
}
.track-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
    border-radius: var(--r-md);
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-align: center;
    line-height: 1.2;
}
.track-btn-status {
    background: #f8f5f0;
    border: 2px solid #e3ddd3;
    color: #48536a;
}
.track-btn-status:hover { border-color: #ff6b4a; color: #ff6b4a; background: #fff5f3; }
.track-btn-status.in-progress-active { background: rgba(163, 97, 26,0.08); border-color: #a3611a; color: #965914; }
.track-btn-status.complete-active    { background: rgba(31, 122, 92,0.08);  border-color: #1f7a5c; color: #17604a; }
.track-btn-log {
    background: #1a2332;
    color: white;
    border: 2px solid transparent;
}
.track-btn-log:hover {
    background: #ff6b4a;
    box-shadow: var(--shadow-2);
    transform: translateY(-1px);
}
.tracker-hint {
    padding: 1rem 1.75rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255,107,74,0.03);
    border-top: 1px dashed rgba(255,107,74,0.2);
}
.tracker-hint-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.tracker-hint-text { font-size: 0.82rem; color: #68717f; line-height: 1.6; }
.tracker-hint-text strong { color: #ff6b4a; }

.terms-warning {
    padding: 0.8rem 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: #fbf6ea;
    border-top: 1px solid #ecd9ae;
    font-size: 0.8rem;
    color: #7d4a12;
    line-height: 1.5;
}
.terms-warning-icon { flex-shrink: 0; margin-top: 0.05rem; }

.offer-report-link {
    text-align: center;
    padding: 0.6rem 1.75rem 1rem;
    border-top: 1px solid #f2ede5;
}
.offer-report-link a {
    color: #99a2b0;
    font-size: 0.76rem;
    text-decoration: none;
    border-bottom: 1px dotted #c4cad4;
    transition: color 0.2s ease;
}
.offer-report-link a:hover { color: #68717f; }

@media (max-width: 768px) {
    .step-label { font-size: 0.875rem; }
    .step-desc  { font-size: 0.8rem; }
    .tracker-hint-text { font-size: 0.875rem; }
    .track-card-subtitle { font-size: 0.875rem; }
    .track-status-pill {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        min-height: 36px;
    }
    .track-next-hint { font-size: 0.875rem; }
}

@media (max-width: 480px) {
    .track-actions { grid-template-columns: 1fr; }
    .track-card-header { flex-direction: column; align-items: flex-start; }
}
