.sit-tracker-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.sit-tracker-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sit-tracker-header {
    text-align: center;
    margin-bottom: 28px;
}

.sit-tracker-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin: 0 0 10px 0;
}

.sit-tracker-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* modern premium search bar */
.sit-modern-search-box {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 9999px;
    padding: 6px 6px 6px 20px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.sit-modern-search-box.sit-search-focused {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.sit-search-icon {
    display: flex;
    align-items: center;
    color: #94a3b8;
    margin-right: 12px;
}

.sit-search-icon svg {
    width: 20px;
    height: 20px;
}

.sit-track-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 12px 0 !important;
    font-size: 16px !important;
    outline: none !important;
    color: #0f172a !important;
    font-weight: 500 !important;
}

.sit-track-input::placeholder {
    color: #94a3b8;
}

.sit-modern-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sit-modern-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.sit-btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.sit-modern-search-btn:hover .sit-btn-arrow {
    transform: translateX(4px);
}

/* Results panel */
.sit-results-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    margin-bottom: 24px;
    padding-top: 12px;
}

.sit-tracker-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.sit-package-id {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
}

.sit-eta {
    text-align: right;
}

.sit-eta-label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.07em;
    color: #64748b;
    font-weight: 800;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.sit-eta-date {
    font-size: 16px;
    color: #0f172a;
    font-weight: 700;
}

/* Progress indicator bar */
.sit-progress-bar-container {
    height: 8px;
    background: #f1f5f9;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 36px;
}

.sit-progress-bar-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stepper Timeline */
.sit-timeline {
    position: relative;
    padding-left: 36px;
}

.sit-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: #e2e8f0;
}

.sit-timeline-step {
    position: relative;
    padding-bottom: 32px;
}

.sit-timeline-step:last-child {
    padding-bottom: 0;
}

.sit-step-bullet {
    position: absolute;
    left: -36px;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.sit-step-bullet svg {
    width: 14px;
    height: 14px;
    color: #ffffff;
}

.sit-timeline-step.completed .sit-step-bullet {
    background-color: #2563eb;
    border-color: #2563eb;
}

.sit-timeline-step.active .sit-step-bullet {
    border-color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sit-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #2563eb;
    animation: sit-pulse-animation 2s infinite;
}

@keyframes sit-pulse-animation {
    0% { transform: scale(0.9); opacity: 0.9; }
    50% { transform: scale(1.4); opacity: 0.3; }
    100% { transform: scale(0.9); opacity: 0.9; }
}

.sit-step-content {
    display: flex;
    flex-direction: column;
}

.sit-step-title {
    font-size: 15px;
    font-weight: 700;
    color: #64748b;
    margin: 0 0 3px 0;
    transition: color 0.25s ease;
}

.sit-timeline-step.completed .sit-step-title,
.sit-timeline-step.active .sit-step-title {
    color: #0f172a;
}

.sit-step-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 5px 0;
}

.sit-step-time {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

/* Custom Loading Ring */
.sit-tracker-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
    gap: 20px;
}

.sit-loading-ring {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
}

.sit-loading-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 32px;
    height: 32px;
    margin: 4px;
    border: 3.5px solid #e2e8f0;
    border-radius: 50%;
    animation: sit-loading-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #2563eb transparent transparent transparent;
}

.sit-loading-ring div:nth-child(1) { animation-delay: -0.45s; }
.sit-loading-ring div:nth-child(2) { animation-delay: -0.3s; }
.sit-loading-ring div:nth-child(3) { animation-delay: -0.15s; }

@keyframes sit-loading-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sit-tracker-loader p {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}
