/* Agil Slider Frontend Styles */

.agil-slider-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    /* Defaults - will be overridden by inline styles if set */
    width: 100%;
    max-width: 100%;
}

.agil-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.agil-slide {
    min-width: 100%;
    /* Mostra 1 slide por vez */
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Controls */
/* Controls */
.agil-slider-container button.agil-prev,
.agil-slider-container button.agil-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    /* Hidden by default, show on hover */
}

.agil-slider-container:hover button.agil-prev,
.agil-slider-container:hover button.agil-next {
    opacity: 1;
}

.agil-slider-container button.agil-prev:hover,
.agil-slider-container button.agil-next:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.agil-prev {
    left: 20px;
}

.agil-next {
    right: 20px;
}

/* Dots */
.agil-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.agil-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.agil-dot.active {
    background: white;
    transform: scale(1.1);
}