/* Vehicle Detail Page Specific Styles */

/* Breadcrumb */
.breadcrumb-wrapper {
    background-color: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb {
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--gray-800);
    font-weight: 600;
}

/* Vehicle Gallery */
.vehicle-gallery {
    position: relative;
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.auction-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 10;
    color: white;
}

.auction-status.active {
    background-color: var(--success);
}

.auction-status.ending {
    background-color: var(--danger);
}

.auction-status.upcoming {
    background-color: var(--warning);
}

.main-swiper {
    width: 100%;
    height: 500px;
}

.main-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-100);
}

.main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-swiper {
    height: 100px;
    box-sizing: border-box;
    padding: 0 1rem;
}

.thumb-swiper .swiper-slide {
    width: 100px;
    height: 100%;
    opacity: 0.5;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.thumb-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid var(--primary);
}

.swiper-button-next, .swiper-button-prev {
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.2rem;
}

.image-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: var(--border-radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.gallery-stats {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.gallery-stats span {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: var(--border-radius-xl);
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.gallery-stats span i {
    margin-right: 0.5rem;
}

/* Vehicle Info Tabs */
.vehicle-info-tabs {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.nav-tabs {
    border-bottom: 1px solid var(--gray-200);
    background-color: var(--gray-50);
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary-light);
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    background-color: white;
    border-bottom-color: var(--primary);
}

.tab-content {
    padding: 2rem;
}

.tab-pane h4 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.tab-pane h5 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.tab-pane p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Specifications Tables */
.specs-table {
    margin-bottom: 0;
}

.specs-table td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--gray-700);
    width: 40%;
}

.specs-table td:last-child {
    color: var(--gray-600);
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--success);
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

/* Service Timeline */
.service-timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 2rem;
}

.service-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.5rem;
    width: 2px;
    background-color: var(--gray-200);
}

.service-item {
    position: relative;
    padding-bottom: 2rem;
}

.service-item:last-child {
    padding-bottom: 0;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -2rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--primary);
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--primary-light);
}

.service-date {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.service-details h6 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.service-details ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
    color: var(--gray-600);
}

/* Shipping Options */
.shipping-option {
    background-color: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}

.shipping-option h6 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.shipping-option p {
    margin-bottom: 1rem;
}

.shipping-option address {
    margin-bottom: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.shipping-table th {
    font-weight: 600;
    color: var(--gray-700);
}

/* Seller Info */
.seller-info .card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.seller-avatar img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.seller-details h5 {
    font-weight: 700;
    color: var(--gray-800);
}

.seller-contact h6 {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

/* Similar Vehicles */
.similar-vehicles h4 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

/* Auction Sidebar */
.auction-sidebar {
    position: sticky;
    top: 100px;
}

.auction-status-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.status-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.status-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
}

.status-badge.active {
    background-color: var(--success);
}

.status-badge.ending {
    background-color: var(--danger);
}

.status-badge.upcoming {
    background-color: var(--warning);
}

.bid-info {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.current-bid span {
    font-size: 0.9rem;
    color: var(--gray-500);
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.current-bid h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.bid-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.bid-note {
    color: var(--gray-500);
    font-size: 0.85rem;
    line-height: 1.5;
}

.bid-form {
    padding: 1.5rem;
}

.bid-options {
    font-size: 0.9rem;
}

.auction-details-card, .additional-services-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.auction-details-card h4, .additional-services-card h4 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.auction-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auction-details-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.auction-details-list li:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: var(--gray-600);
}

.detail-value {
    font-weight: 600;
    color: var(--gray-800);
}

.service-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.service-item:first-child {
    padding-top: 0;
}

.service-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.service-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.service-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

.buyers-guide-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.buyers-guide-content {
    position: relative;
}

.guide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: white;
}

.guide-overlay h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.guide-overlay p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .auction-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .main-swiper {
        height: 400px;
    }
}

@media (max-width: 767.98px) {
    .main-swiper {
        height: 300px;
    }
    
    .thumb-swiper {
        height: 80px;
    }
    
    .thumb-swiper .swiper-slide {
        width: 80px;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .current-bid h2 {
        font-size: 2rem;
    }
}