/* Carousel Styling */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 50%;
    background-color: #54A300;
    /* Grundee Green */
    border-radius: 50%;
    filter: none;
    /* Remove invert since we set bg color */
}

.carousel-control-prev {
    left: -4%;
}

.carousel-control-next {
    right: -4%;
}

/* Swiper.js global Styling */
.swiper-nav-prev,
.swiper-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 45px;
    height: 45px;
    border: 2px solid #54A300;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #54A300;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    outline: none;
}

.swiper-nav-prev {
    left: -22px;
}

.swiper-nav-next {
    right: -22px;
}

.swiper-nav-prev:hover,
.swiper-nav-next:hover {
    background-color: #54A300;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(84, 163, 0, 0.3);
}

.swiper-nav-prev:active,
.swiper-nav-next:active {
    transform: translateY(-50%) scale(0.95);
}

.swiper-nav-prev.swiper-button-disabled,
.swiper-nav-next.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

/* Custom Pagination Dots */
.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #dee2e6;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
    background: #54A300 !important;
    width: 30px;
    border-radius: 6px;
}

/* Mobile Adjustments */
@media (max-width: 992px) {

    .swiper-nav-prev,
    .swiper-nav-next {
        width: 40px;
        height: 40px;
    }

    .swiper-nav-prev {
        left: -15px;
    }

    .swiper-nav-next {
        right: -15px;
    }
}



/* Auto-sliding carousel for TODO alerts */
.todo-carousel {
    position: relative;
    overflow: hidden;
    height: 60px;
}

.todo-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.todo-carousel-item {
    min-width: 100%;
    flex-shrink: 0;
}