body {
    background-color: #f8f9fa;
    font-family: 'Space Grotesk', sans-serif;
    color: #333;
}

h1, h2, h3, h4, h5 {
    font-family: 'Syne', sans-serif;
}

.container {
    max-width: 1200px;
}

.back-link {
    margin: 1.5rem 0 1rem;
    font-size: 0.95rem;
}

.back-link a {
    color: #555;
    transition: color 0.2s;
}

.back-link a:hover {
    color: #0C84FE;
    text-decoration: none;
}

.back-link i {
    font-size: 0.8rem;
}

.car-details-section {
    padding: 1rem 0 2.5rem;
}

.main-car-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    position: relative;
    background-color: #f5f5f5;
}

.main-car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    background: #f5f5f5;
}

.view-panel {
    display: none;
}

.view-panel.active {
    display: block;
}

.main-car-image:empty::before {
    content: "No image available";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    background-color: #f5f5f5;
    border-radius: 16px;
}

.thumbnails-row {
    display: flex;
    gap: 12px;
    padding-bottom: 10px;
    justify-content: flex-start;
}

.thumbnail {
    flex: 0 0 calc(33.333% - 8px);
    width: 100px;
    height: 75px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s;
    border: 2px solid transparent;
    background-color: #f5f5f5;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail.active {
    opacity: 1;
    border-color: #0C84FE;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #f5f5f5;
}

.car-info {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.car-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #222;
}

.car-meta {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.car-brand, .car-year {
    font-weight: 500;
}

.rating-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.stars {
    color: #ff9800;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.rating-value {
    font-weight: 600;
    margin-right: 0.25rem;
    font-size: 0.9rem;
}

.reviews-count {
    color: #666;
    font-size: 0.9rem;
}

.car-location {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 0.9rem;
}

.car-location i {
    color: #0C84FE;
    margin-right: 0.5rem;
}

.price-container {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0C84FE;
    margin-right: 0.3rem;
}

.price-period {
    font-size: 1rem;
    color: #666;
}

.features-row {
    display: flex;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.feature i {
    color: #666;
    margin-right: 0.5rem;
    font-size: 1rem;
}

.perks-container {
    margin-bottom: 1.5rem;
}

.perk {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.perk i {
    color: #4CAF50;
    margin-right: 0.5rem;
}

.btn-book-now {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background-color: #0C84FE;
    border-color: #0C84FE;
    font-weight: 500;
    transition: all 0.25s;
}

.btn-book-now:hover {
    background-color: #0069d9;
    border-color: #0062cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 132, 254, 0.3);
}

.car-tabs-container,
.toggle-container {
    background-color: #f4f6f8;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    padding: 0.25rem 0.5rem;
    height: 48px;
}

.car-tabs-container {
    margin-bottom: 2rem;
}

.car-tabs,
.image-view-toggles .nav-tabs {
    border-bottom: none;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    justify-content: space-between;
    height: 100%;
}

.car-tabs::-webkit-scrollbar,
.image-view-toggles .nav-tabs::-webkit-scrollbar {
    display: none;
}

.car-tabs .nav-item,
.image-view-toggles .nav-item {
    flex: 1;
    text-align: center;
    padding: 0 5px;
    display: flex;
    align-items: center;
    height: 100%;
}

.car-tabs .nav-link,
.image-view-toggles .nav-link {
    color: #555;
    font-weight: 600;
    border: none;
    padding: 0.18rem 0.5rem;
    font-size: 1rem;
    font-family: 'Syne', sans-serif;
    transition: all 0.2s;
    position: relative;
    width: 100%;
    border-radius: 6px;
    margin: 4px 0;
    height: calc(100% - 8px);
    background-color: transparent;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.car-tabs-section {
    padding: 2rem 0 4rem;
}
.car-tabs .nav-link:hover,
.image-view-toggles .nav-link:hover {
    color: #0C84FE;
    text-decoration: none;
}

.car-tabs .nav-link.active,
.image-view-toggles .nav-link.active {
    color: #fff;
    background-color: #0C84FE;
    border-color: #0C84FE;
    box-shadow: 0 2px 8px rgba(12, 132, 254, 0.25);
    border-radius: 6px;
}

.car-tabs .nav-link.active::after,
.image-view-toggles .nav-link.active::after {
    display: none;
}

.tab-content {
    padding: 1rem 0;
}

.host-content {
    padding: 0;
}

.host-profile {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.host-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid #f0f4ff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.host-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.host-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #222;
}

.host-location {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.host-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.host-rating .stars {
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.host-details {
    text-align: left;
    margin-bottom: 1.5rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.detail-label {
    color: #666;
}

.detail-value {
    font-weight: 500;
    color: #333;
}

.host-languages {
    text-align: left;
    margin-bottom: 1.5rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.host-languages h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.languages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.language {
    background: #f0f4ff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #0C84FE;
    font-weight: 500;
}

.host-statistics {
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.host-statistics h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.stat-item i {
    width: 20px;
    margin-right: 0.75rem;
    color: #0C84FE;
}

.stat-label {
    flex: 1;
    font-size: 0.95rem;
    color: #555;
}

.stat-value {
    font-weight: 600;
    color: #333;
}

.stat-check {
    color: #4CAF50;
    font-size: 1.1rem;
}

.host-info {
    margin-left: 1rem;
}

.host-about {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.host-about h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.host-about p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.guest-reviews {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.guest-reviews h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.review {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.review:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer {
    display: flex;
    align-items: center;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: #333;
}

.review-date {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0;
}

.review-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
}

.specifications-content {
    padding: 1rem 0;
}

.specifications-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.spec-row:last-child {
    margin-bottom: 0;
}

.spec-item {
    background: #fff;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.spec-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.spec-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.spec-value {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

@media (max-width: 768px) {
    .spec-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .spec-item {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .specifications-grid {
        gap: 0.75rem;
    }

    .spec-row {
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .spec-item {
        padding: 0.875rem;
    }

    .spec-label {
        font-size: 0.8rem;
    }

    .spec-value {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .host-info {
        margin-left: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .car-name {
        font-size: 1.75rem;
    }

    .price {
        font-size: 1.8rem;
    }

    .car-tabs-container,
    .toggle-container {
        padding: 0.5rem 1rem;
        height: auto;
    }

    .car-tabs .nav-link,
    .image-view-toggles .nav-link {
        padding: 0.75rem 0.5rem;
        font-size: 0.95rem;
    }

    .thumbnails-row {
        gap: 8px;
    }

    .thumbnail {
        width: 80px;
        height: 60px;
    }

    .car-tabs,
    .image-view-toggles .nav-tabs {
        flex-wrap: wrap;
        justify-content: space-between;
        height: auto;
        overflow-y: visible;
        padding-bottom: 10px;
    }

    .car-tabs .nav-item,
    .image-view-toggles .nav-item {
        flex: 0 0 48%;
        width: 48%;
        margin-bottom: 0.5rem;
    }

    .car-tabs .nav-link,
    .image-view-toggles .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0.3rem;
        height: 36px;
    }
}

@media (max-width: 576px) {
    .car-info {
        padding: 1.25rem;
    }

    .features-row {
        gap: 1rem;
    }

    .host-profile, .host-about, .guest-reviews {
        padding: 1.25rem;
    }

    .car-tabs-container,
    .toggle-container {
        padding: 0.5rem 0.75rem;
        height: 48px;
    }

    .car-tabs .nav-link,
    .image-view-toggles .nav-link {
        padding: 0.75rem 0.3rem;
        font-size: 0.85rem;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .overview-content,
    .specifications-content,
    .amenities-content,
    .policies-content,
    .host-content {
        padding: 1.25rem;
    }

    .category-title {
        font-size: 1rem;
    }

    .amenity-item {
        font-size: 0.85rem;
    }
}

.overview-content,
.specifications-content,
.amenities-content,
.policies-content,
.host-content {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.overview-content h3,
.specifications-content h3,
.amenities-content h3,
.policies-content h3,
.host-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.overview-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}

.overview-description {
    margin-bottom: 2rem;
}

.overview-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.overview-feature {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid #eee;
    transition: all 0.2s;
}

.overview-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
}

.overview-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(12, 132, 254, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0C84FE;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.overview-feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    font-family: 'Syne', sans-serif;
}

.overview-feature-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.overview-map {
    margin-top: 2.5rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pickup-locations {
    margin-top: 1rem;
}

.pickup-location {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #555;
}

.pickup-location i {
    margin-right: 0.5rem;
    color: #0C84FE;
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.policy-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid #eee;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.policy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
}

.policy-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background-color: #e6f0ff;
    color: #0C84FE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.policy-details {
    flex: 1;
}

.policy-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333;
}

.policy-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.policy-list li {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    color: #555;
}

.policy-list li:last-child {
    margin-bottom: 0;
}

.policy-card:nth-child(2) .policy-icon {
    background-color: #ffe6e6;
    color: #dc3545;
}

.policy-card:nth-child(3) .policy-icon {
    background-color: #e6fff0;
    color: #198754;
}

.policy-card:nth-child(4) .policy-icon {
    background-color: #e6f0ff;
    color: #0d6efd;
}

.policy-card:nth-child(5) .policy-icon {
    background-color: #fff4e6;
    color: #fd7e14;
}

.policy-card:nth-child(6) .policy-icon {
    background-color: #e6f2ff;
    color: #0dcaf0;
}

.amenities-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.amenity-category {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.amenity-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
}

.category-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #333;
    display: flex;
    align-items: center;
}

.category-title i {
    margin-right: 0.75rem;
    color: #0C84FE;
}

.amenity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amenity-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #444;
}

.amenity-item:last-child {
    margin-bottom: 0;
}

.amenity-item i {
    margin-right: 0.75rem;
    width: 16px;
}

.amenity-item .fa-check {
    color: #4CAF50;
}

.amenity-item .fa-times {
    color: #999;
}

.amenity-item .text-muted {
    color: #999 !important;
}

@media (max-width: 992px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .amenity-category {
        padding: 1.25rem;
    }
}

.image-view-toggles {
    margin-bottom: 1rem;
}

.toggle-container {
    display: flex;
    width: 100%;
    max-width: 600px;
}

.view-panel {
    display: none;
    min-height: 80px;
}

.view-panel.active {
    display: block;
}

@media (max-width: 768px) {
    .image-view-toggles .nav-tabs {
        overflow-y: hidden;
    }
}
