/* Tracking Component Styles */

/* Shipment Tracking Section */
.shipment-tracking {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.tracking-form-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 30px;
}

.tracking-form .form-group {
    display: flex;
    margin-bottom: 15px;
}

.tracking-form .form-control {
    height: 60px;
    border-radius: 5px 0 0 5px;
    border: 1px solid #e1e1e1;
    padding: 0 20px;
    font-size: 16px;
    flex-grow: 1;
}

.tracking-form .btn-default {
    border-radius: 0 5px 5px 0;
    height: 60px;
    padding: 0 30px;
    font-weight: 600;
}

.form-info {
    color: #777;
    font-size: 14px;
    margin-top: 10px;
}

.tracking-feature-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.tracking-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tracking-feature-icon {
    margin-bottom: 20px;
}

.tracking-feature-icon img {
    width: 60px;
    height: 60px;
}

.tracking-feature-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.tracking-feature-content p {
    color: #666;
    margin-bottom: 0;
}

.tracking-info {
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 40px;
    margin-top: 50px;
    color: #ffffff;
    text-align: center;
}

.tracking-info-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.tracking-info-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.tracking-info-content .btn-default {
    background-color: #ffffff;
    color: var(--primary-color);
}

.tracking-info-content .btn-default:hover {
    background-color: #f0f0f0;
}

/* Tracking Technology Section */
.tracking-technology {
    padding: 100px 0;
}

.tracking-technology-body ul.tracking-features-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.tracking-features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.tracking-features-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
}

.tracking-technology-right figure {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Tracking Benefits Section */
.tracking-benefits {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.benefit-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-icon img {
    width: 60px;
    height: 60px;
}

.benefit-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-item p {
    color: #666;
    margin-bottom: 0;
}

/* Tracking Results Page */
.tracking-results {
    padding: 100px 0;
}

.tracking-summary {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.tracking-status h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.status-badge {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
}

.tracking-delivery h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.delivery-date {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.tracking-detail-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    height: 100%;
}

.tracking-detail-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.tracking-info-table {
    width: 100%;
}

.tracking-info-table td {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.tracking-info-table td:first-child {
    font-weight: 600;
    width: 40%;
}

.current-location {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.location-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
}

.location-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.location-details p {
    color: #666;
    margin-bottom: 0;
}

.tracking-map {
    height: 200px;
    background-color: #f8f9fa;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.map-placeholder {
    text-align: center;
    color: #999;
}

.tracking-timeline {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.tracking-timeline h3 {
    font-size: 20px;
    margin-bottom: 30px;
}

.timeline-container {
    position: relative;
}

.timeline-container:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background-color: #e1e1e1;
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    padding-bottom: 30px;
}

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

.timeline-marker {
    position: absolute;
    left: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #e1e1e1;
    z-index: 1;
}

.timeline-item.completed .timeline-marker {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.timeline-content {
    display: flex;
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 20px;
}

.timeline-date {
    min-width: 100px;
    margin-right: 20px;
}

.timeline-date .date {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-date .time {
    display: block;
    color: #666;
}

.timeline-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.timeline-info .location {
    color: #666;
    margin-bottom: 5px;
}

.timeline-info .description {
    color: #999;
    margin-bottom: 0;
}

.tracking-actions {
    margin-top: 50px;
}

.action-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.action-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.action-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.action-card p {
    color: #666;
    margin-bottom: 20px;
}

.tracking-error {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 50px 30px;
    text-align: center;
    margin-bottom: 30px;
}

.error-icon {
    font-size: 60px;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.tracking-error h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.tracking-error p {
    color: #666;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .tracking-form .form-group {
        flex-direction: column;
    }
    
    .tracking-form .form-control {
        border-radius: 5px;
        margin-bottom: 15px;
    }
    
    .tracking-form .btn-default {
        border-radius: 5px;
        width: 100%;
    }
    
    .timeline-content {
        flex-direction: column;
    }
    
    .timeline-date {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .shipment-tracking,
    .tracking-technology,
    .tracking-benefits,
    .tracking-results {
        padding: 60px 0;
    }
    
    .tracking-form-container {
        padding: 20px;
    }
    
    .tracking-detail-card,
    .tracking-summary,
    .tracking-timeline,
    .action-card {
        padding: 20px;
    }
} 