/* Track Order Styles */
.track-order-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 80vh;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.track-order-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="trackGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23trackGrid)"/></svg>');
}

.track-order-section .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h1 {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Track Search */
.track-search {
    max-width: 600px;
    margin: 0 auto 50px;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #fb9a0b;
}

.search-input {
    display: flex;
    gap: 15px;
}

.search-input input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-input input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input input:focus {
    outline: none;
    border-color: #fb9a0b;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(251, 154, 11, 0.3);
}

.search-input .btn {
    padding: 15px 30px;
    white-space: nowrap;
    font-weight: 600;
}

/* Order Results */
.order-results {
    max-width: 800px;
    margin: 0 auto;
}

.order-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.order-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.order-info p {
    color: #7f8c8d;
    margin: 0;
}

.order-status {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-new { background: #e3f2fd; color: #1976d2; }
.status-confirmed { background: #f3e5f5; color: #7b1fa2; }
.status-in-progress { background: #fff3e0; color: #f57c00; }
.status-completed { background: #e8f5e8; color: #388e3c; }
.status-cancelled { background: #ffebee; color: #d32f2f; }

/* Order Timeline */
.order-timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 45px;
    width: 2px;
    height: 40px;
    background: #e9ecef;
}

.timeline-item.active:not(:last-child)::after {
    background: #fb9a0b;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    background: #e9ecef;
    color: #6c757d;
    font-size: 1rem;
    flex-shrink: 0;
}

.timeline-item.active .timeline-icon {
    background: #fb9a0b;
    color: white;
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.timeline-content p {
    color: #7f8c8d;
    margin: 0;
    font-size: 0.9rem;
}

.timeline-time {
    font-size: 0.8rem;
    color: #fb9a0b;
    font-weight: 600;
}

/* Order Details */
.order-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.detail-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section h4 i {
    color: #fb9a0b;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: #7f8c8d;
    font-weight: 500;
}

.detail-value {
    color: #2c3e50;
    font-weight: 600;
}

/* Technician Info */
.technician-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.technician-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.technician-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fb9a0b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.technician-details h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.technician-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #ffc107;
}

.technician-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 8px;
}

.btn-call {
    background: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-call:hover {
    background: #218838;
}

.btn-message {
    background: #17a2b8;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-message:hover {
    background: #138496;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
}

.no-results i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

.no-results p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .track-order-section {
        padding: 80px 0;
    }
    
    .section-header h1 {
        font-size: 2.5rem;
    }
    
    .track-search {
        padding: 30px 20px;
    }
    
    .search-options {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .search-input {
        flex-direction: column;
    }
    
    .order-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .order-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .technician-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .track-search {
        padding: 25px 15px;
    }
    
    .order-card {
        padding: 20px 15px;
    }
    
    .timeline-item {
        margin-bottom: 20px;
    }
    
    .technician-info {
        flex-direction: column;
        text-align: center;
    }
}