:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #f59e0b;
    --dark: #0f172a;
    --light: #f8fafc;
    --grey: #64748b;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    margin: 0;
    padding: 0;
}

.tracking-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.tracking-header {
    background: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.tracking-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
    margin-bottom: 2rem;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

/* Progress Tracker */
.tracker-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 3rem 0;
}

.tracker-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    transform: translateY(-50%);
    z-index: 1;
}

.tracker-line-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: var(--primary);
    transform: translateY(-50%);
    z-index: 2;
    transition: width 0.5s ease;
}

.step {
    position: relative;
    z-index: 3;
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s;
}

.step.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--white);
}

.step.completed {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.step-label {
    position: absolute;
    top: 60px;
    font-size: 0.85rem;
    white-space: nowrap;
    color: var(--grey);
    font-weight: 500;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--grey);
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-track {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-track:hover {
    background: var(--primary-dark);
}

/* Modal and Details */
.shipment-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
}

.detail-item h4 {
    font-size: 0.9rem;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.detail-item p {
    font-weight: 600;
    font-size: 1.1rem;
}

.alert-message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert-message i {
    margin-top: 0.25rem;
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    background: #dcfce7;
    color: #166534;
}