/* Carousel Styles - Matching Android App */

.carousel-container {
    position: relative;
    width: 100%;
    padding: 12px 12px 24px 12px;
}

@media (min-width: 640px) {
    .carousel-container {
        padding: 14px 14px 24px 14px;
    }
}

@media (min-width: 768px) {
    .carousel-container {
        padding: 16px 16px 24px 16px;
    }
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 16px;
}

@media (min-width: 640px) {
    .carousel-wrapper {
        height: 240px;
    }
}

@media (min-width: 768px) {
    .carousel-wrapper {
        height: 280px;
    }
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 16px;
    text-align: center;
    flex-shrink: 0;
    position: relative;
}

.carousel-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    z-index: 1;
}

.carousel-slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-slide-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

@media (min-width: 640px) {
    .carousel-slide-title {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .carousel-slide-title {
        font-size: 24px;
    }
}

.carousel-slide-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    white-space: pre-line;
}

@media (min-width: 640px) {
    .carousel-slide-text {
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .carousel-slide-text {
        font-size: 18px;
    }
}

/* Dot Indicators */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #0D47A1;
}

.carousel-dot:not(.active) {
    background-color: #A1A09A;
}

/* Dark mode for slides */
.dark .carousel-slide[style*="background-color: #E3F2FD"] {
    background-color: rgba(13, 71, 161, 0.3) !important;
}

.dark .carousel-slide[style*="background-color: #F1F8E9"] {
    background-color: rgba(51, 105, 30, 0.3) !important;
}

.dark .carousel-slide[style*="background-color: #F3E5F5"] {
    background-color: rgba(106, 27, 154, 0.3) !important;
}

/* Dark mode for dots */
.dark .carousel-dot.active {
    background-color: #90CAF9;
}

.dark .carousel-dot:not(.active) {
    background-color: #706f6c;
}

