/* Vehicle Card and Modal Styles */

.modal-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-main-image.no-photo {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #999;
    background: #f0f0f0;
}

.modal-gallery-nav {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex: 1;
    height: 100%;
}

.modal-gallery-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.modal-gallery-nav .material-symbols-outlined {
    font-size: 24px;
    transition: font-size 0.3s ease;
}

.modal-gallery-nav:hover .material-symbols-outlined {
    font-size: 28px;
}

.modal-fullscreen-zone {
    transition: opacity 0.3s ease;
}

.modal-nav-zone {
    transition: opacity 0.3s ease;
    display: flex;
    gap: 0;
    width: 100%;
    height: 100%;
}

.photo-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    object-fit: cover;
}

.photo-thumbnail.active {
    border-color: #b9c7e4;
    box-shadow: 0 0 8px rgba(185, 199, 228, 0.4);
}

.photo-thumbnail:hover {
    border-color: #b9c7e4;
}

#applyFiltersBtn {
    transition: top 0.2s ease, right 0.2s ease, opacity 0.2s ease, transform 0.2s ease, bottom 0.2s ease;
    pointer-events: auto;
    touch-action: manipulation;
    max-width: 320px;
}
#applyFiltersBtn.hidden {
    opacity: 0;
    pointer-events: none;
}