html,
body {
    font-size: 14px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f6f8fa;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 700px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    padding: 0 0 32px 0;
}

.header {
    text-align: center;
    padding: 40px 20px 20px 20px;
}

.status-large {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1abc9c;
    margin-bottom: 8px;
}

.date-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1abc9c;
    margin-bottom: 8px;
}

.weekday-large {
    font-size: 1.2rem;
    color: #1abc9c;
    margin-bottom: 4px;
}

.summary-large {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 40px 32px 40px;
    position: relative;
    min-height: 40px;
}

.progress-bar-track {
    position: absolute;
    top: 50%;
    height: 6px;
    width: 100%;
    background: #1abc9c;
    z-index: 0;
    transform: translateY(-50%);
}

.progress-bar-fill {
    display: none;
}

.progress-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.progress-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #1abc9c;
    transition: background 0.2s, border 0.2s;
    position: relative;
}

.progress-circle.completed {
    background: #1abc9c;
    border: 3px solid #1abc9c;
}

.progress-label {
    font-size: 0.78rem;
    color: #888;
    word-break: break-word;
    position: absolute;
    top: 2rem;
    width: max-content;

}

.progress-step.active .progress-label,
.progress-step.completed .progress-label {
    color: #888 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

.progress-step:not(.completed):not(.active) .progress-label {
    color: #888 !important;
    opacity: 1 !important;
}

.timeline-section {
    margin: 0 40px;
    max-height: 350px;
    overflow-y: auto;
    border-radius: 8px;
    background: #fff;
}

.pickup-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 0.95em;
}

.pickup-label {
    color: #888;
    margin-right: 4px;
}

.copy-btn {
    background: none;
    border: none;
    color: #1abc9c;
    font-size: 0.95em;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #e6f7f3;
}

.timeline-date {
    font-size: 1rem;
    color: #1abc9c;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 6px;
}

.timeline-event {
    display: flex;
    align-items: flex-start;
    padding: 12px 0 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.timeline-event:last-child {
    border-bottom: none;
}

.event-time {
    width: 60px;
    color: #888;
    font-size: 0.92rem;
    flex-shrink: 0;
}

.event-details {
    flex: 1;
}

.event-title {
    font-weight: 500;
    color: #222;
    margin-bottom: 1px;
    font-size: 0.97rem;
}

.event-location {
    color: #888;
    font-size: 0.92rem;
    margin-bottom: 1px;
}

.event-description {
    color: #444;
    font-size: 0.95rem;
}

.event-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #1abc9c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 18px;
    flex-shrink: 0;
}

.carrier-section {
    border-top: 1px solid #eee;
    margin: 32px 0 0 0;
    padding: 18px 40px 0 40px;
}

.carrier-label {
    color: #aaa;
    font-size: 0.98em;
    margin-bottom: 8px;
}

.carrier-details {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.carrier-badge {
    background: #0091ea;
    color: #fff;
    font-size: 0.85em;
    font-weight: 600;
    border-radius: 6px;
    padding: 2px 8px;
    margin-right: 6px;
    display: inline-block;
}

.carrier-name {
    font-weight: 500;
    color: #444;
    margin-right: 10px;
}

.tracking-number-badge {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tracking-number-link {
    color: #1abc9c;
    font-weight: 600;
    font-size: 1.05em;
    text-decoration: underline;
    cursor: pointer;
}

#copyTrackingBtn {
    background: none;
    border: none;
    color: #888;
    font-size: 1.1em;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.2s;
}

#copyTrackingBtn:hover {
    background: #e6f7f3;
    color: #1abc9c;
}

.error-box {
    background: #fff0f0;
    color: #c0392b;
    border: 1.5px solid #e57373;
    border-radius: 8px;
    padding: 18px 24px;
    margin: 24px 40px;
    font-size: 1.05em;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.07);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeInError 0.3s;
}

.error-box .error-icon {
    font-size: 1.5em;
    margin-right: 8px;
}

@keyframes fadeInError {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timezone-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f6f8fa;
    padding: 18px 40px 10px 40px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
}

.tz-label {
    color: #888;
    font-size: 1em;
    font-weight: 500;
}

.tz-select {
    font-size: 1em;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    color: #333;
    outline: none;
    transition: border 0.2s;
}

.tz-select:focus {
    border-color: #1abc9c;
}

@media(max-width: 700px) {
    .progress-circle {
        width: 12px;
        height: 12px;
    }

    .progress-bar-track {
        height: 3px;
    }

    .progress-label {
        max-width: 50px;
        text-align: center;
    }
}

.small-black {
    font-size: 16px !important;
    color: #222 !important;
    font-weight: normal !important;
}

.medium-black {
    font-size: 24px !important;
    color: black;
}

.medium-orange {
    font-size: 24px !important;
    color: orange;
}