﻿.tracking-header-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-toggle-horizontal {
    border: 1px solid #ddd;
    background: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.tracking-horizontal {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    overflow-x: auto;
}

.tracking-step {
    min-width: 120px;
    text-align: center;
    position: relative;
}

.step-indicator {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .step-indicator .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #ccc;
        z-index: 2;
    }

    .step-indicator .line {
        position: absolute;
        height: 2px;
        width: 100%;
        background: #ccc;
        left: 50%;
        top: 50%;
        z-index: 1;
    }

.tracking-step.completed .dot,
.tracking-step.completed .line {
    background: #2e7d32;
}

.tracking-step.current .dot {
    background: #1976d2;
}

.tracking-step.upcoming .dot {
    background: #ccc;
}

.step-text {
    margin-top: 8px;
}

.status-title {
    font-size: 13px;
    font-weight: 600;
}

.status-datetime {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}

/* Vertical history */
.tracking-vertical {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.tracking-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

    .tracking-row .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin-right: 10px;
        margin-top: 4px;
        background: #ccc;
    }

    .tracking-row.completed .dot {
        background: #2e7d32;
    }

    .tracking-row.current .dot {
        background: #1976d2;
    }
