.vehicle-query-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-red) 0%, var(--secondary-color) 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.vehicle-query-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png');
    opacity: 0.05;
    animation: patternMove 20s linear infinite;
}

/* Form Styles */
.query-form-container .card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: white;
}

.query-form-container .card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.query-form-container .card-body {
    padding: 40px;
    position: relative;
}

.query-form-container .card-title {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.query-form-container .card-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.query-form-container .form-label {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.query-form-container .form-control {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    color: var(--text-color);
}

.query-form-container .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(227, 24, 55, 0.1);
    outline: none;
}

.query-form-container .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    padding: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.query-form-container .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.query-form-container .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.query-form-container .btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 24, 55, 0.3);
}

/* Vehicle Info Styles */
.vehicle-info {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: white;
    animation: slideInDown 0.6s ease-out;
}

.vehicle-info .card-body {
    padding: 30px;
}

.vehicle-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.vehicle-image:hover {
    transform: scale(1.02);
}

.vehicle-model {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 20px 0;
}

.vehicle-details {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
}

.vehicle-details p {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.vehicle-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Timeline Styles */
.service-history {
    margin-top: 50px;
    position: relative;
    padding-top: 30px;
}

.service-history h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.service-history h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.timeline {
    position: relative;
    padding: 30px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
    width: 100%;
}

.timeline-content {
    position: relative;
    width: calc(50% - 50px);
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.timeline-item:nth-child(odd) .timeline-content {
    float: left;
    animation: slideInLeft 0.6s ease-out;
}

.timeline-item:nth-child(even) .timeline-content {
    float: right;
    animation: slideInRight 0.6s ease-out;
}

.timeline-date {
    position: absolute;
    top: 0;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(227, 24, 55, 0.3);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -180px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -180px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background: var(--primary-color);
    transform: translateX(-50%) scale(1.2);
}

.timeline-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.timeline-image:hover {
    transform: scale(1.02);
}

.timeline-content h5 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.technician {
    display: flex;
    align-items: center;
    color: #666;
}

.technician i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.6s ease-out;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
}

.alert i {
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 90px);
        float: right !important;
        margin-left: 90px;
    }
    
    .timeline-date {
        left: -180px !important;
        right: auto !important;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        animation: slideInRight 0.6s ease-out;
    }
}

@media (max-width: 768px) {
    .vehicle-query-container {
        padding: 30px 0;
    }
    
    .query-form-container .card-body {
        padding: 30px;
    }
    
    .vehicle-info .card-body {
        padding: 20px;
    }
    
    .timeline-date {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 0 20px 90px;
        display: inline-block;
    }
    
    .vehicle-details p {
        margin-bottom: 10px;
    }
}

/* Custom Scrollbar */
.timeline::-webkit-scrollbar {
    width: 8px;
}

.timeline::-webkit-scrollbar-track {
    background: var(--secondary-color);
    border-radius: 4px;
}

.timeline::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.timeline::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
} 