.main-radar-header {
    background: var(--gradient-card);
    padding: 15px;
    border: none;
    border-radius: 8px 8px 0 0;
    opacity: 0.92;
}

.radar-controls {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin: 15px auto 0;
    max-width: 600px;
}

.radar-controls .btn {
    font-size: 1.2rem;
    width: 48px;
    height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 2px !important;
    border: 1px solid #dee2e6;
    background-color: white;
    color: #6c757d;
}

.radar-controls #autoplayBtn i {
    color: #0d6efd;
}

.radar-controls .btn:hover {
    background-color: var(--teal-dark);
    border-color: var(--teal-dark);
    color: white;
}

/* Add styles for static placeholder */
.radar-static-image {
    width: 100%;
    height: 600px;
    object-fit: contain;
    display: block;
}

.radar-content-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.radar-image-container {
    flex: 1;
    height: 600px;
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: block;
    min-height: 500px;
}

.radar-description {
    flex: 0 0 300px;
    display: flex;
    align-items: flex-start;
    padding: 20px;
}

.radar-description h4 {
    color: var(--teal-dark);
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.radar-description p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Style for loading state */
.radar-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: #ffffff;
    z-index: 1;
}

#radarImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.card.shadow-sm {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0;
}

/* Products Slider Styles */
.products-slider {
    width: 100%;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--teal-dark) #f0f0f0;
}

.slider-track::-webkit-scrollbar {
    height: 8px;
}

.slider-track::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.slider-track::-webkit-scrollbar-thumb {
    background: var(--teal-dark);
    border-radius: 4px;
}

.slider-track::-webkit-scrollbar-thumb:hover {
    background: #003D47;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-260px * 5)); /* Adjust based on total slides */
    }
}

.product-slide {
    flex: 0 0 260px;
    min-width: 260px;
    height: 300px;
    transform: translateZ(0);
}

.product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card-header {
    background: var(--gradient-card);
    padding: 0.75rem;
    border: none;
}

/* Add specific style for 400km range */
.range-400km .card-header {
    border: 2px solid #ff0000;
}

.range-400km.product-card {
    border: 2px solid #ff0000;
}

.range-400km .card-header h5 {
    color: #ff0000;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

.card-header h5 {
    color: white;
    margin: 0;
    font-size: 1rem;
}

.card-img-wrapper {
    height: 160px;
    overflow: hidden;
    flex: 1;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-footer {
    padding: 0.75rem;
    background: white;
}

.card-footer p {
    margin: 0;
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.4;
}

/* Add navigation buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .slider-track {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .radar-content-wrapper {
        flex-direction: column;
    }
    
    .radar-description {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .slider-track {
        grid-template-columns: 1fr;
    }
    
    .radar-image-container {
        height: 400px;
    }
}

.container {
    padding: 1rem;
}
