/* Full screen background container */
.carousel-container {
    position: relative;
    width: 100vw;
    min-height: 500px;
    height: auto;
    background-image: url('../image/score-bg.webp');
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 20px 20px;
}

/* Carousel inner container */
.carousel-inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    max-width: 850px;
    width: 100%;
}

/* Image slides */
.image-slides {
    width: 320px;
    height: 320px;
    position: relative;
}

/* Text slides */
.text-slides {
    flex: 1;
    max-width: 420px;
    min-height: 280px;
}

.score-range-header {
    padding-top:50px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.score-description {
    margin-top: 20px;
    min-height: 110px;
    font-size: 0.8rem;
    color: #555;
    line-height: 1.3;
    margin-bottom: 12px;
}

.approval-chance {
    font-size: 0.8rem;
    color: #333;
    margin-bottom: 15px;
}

.approval-chance .badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 2px;
    color: white;
    font-weight: bold;
    margin-left: 8px;
    font-size: 0.75rem;
}

.badge.high {
    background-color: #2ecc71;
}

.badge.likely {
    background-color: #27ae60;
}

.badge.medium {
    background-color: #f39c12;
}

.badge.fairly-low {
    background-color: #e67e22;
}

/* Navigation buttons */
.nav-buttons {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.nav-btn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Image slide styles */
.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-slide.active {
    opacity: 1;
}

.image-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Text slide styles */
.text-slide {
    display: none;
}

.text-slide.active {
    display: block;
}

/* Responsive design */
@media (max-width: 1024px) {
    .carousel-inner {
        flex-direction: column;
        align-items: center;
    }

    .text-slide {
        position: static;
        transform: none;
        margin-top: 20px;
    }

    .image-slides {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .section-title h1 {
        font-size: 1.6rem;
    }

    .image-slides {
        width: 280px;
        height: 280px;
    }

    .carousel-container {
        padding: 40px 10px 20px;
    }
}

@media (max-width: 480px) {
    .section-title h1 {
        font-size: 1.5rem;
    }

    .image-slides {
        width: 250px;
        height: 250px;
    }

    .nav-btn img {
        width: 35px;
        height: 35px;
    }
}