﻿.avesis-carousel {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .avesis-carousel:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    .avesis-carousel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, #3182ce, #0bc5ea);
    }

.avesis-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background-color: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.avesis-carousel-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

    .avesis-carousel-title i {
        color: #3182ce;
        font-size: 22px;
        background-color: #ebf8ff;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

.avesis-carousel:hover .avesis-carousel-title i {
    background-color: #bee3f8;
    transform: rotate(10deg);
}

.avesis-carousel-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avesis-carousel-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: #f7fafc;
    color: #4a5568;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .avesis-carousel-btn:hover {
        background-color: #3182ce;
        color: white;
        transform: translateY(-2px);
    }

.avesis-carousel-content {
    padding: 24px;
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}

.avesis-carousel-item {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avesis-carousel-item.active {
    display: block;
}

.avesis-carousel-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8fafc;
    border-top: 1px solid #edf2f7;
}

.avesis-carousel-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
}

.avesis-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .avesis-carousel-dot:hover {
        background-color: #a0aec0;
    }

    .avesis-carousel-dot.active {
        background-color: #3182ce;
        width: 20px;
        border-radius: 10px;
    }

@media (max-width: 768px) {
    .avesis-carousel {
        border-radius: 12px;
    }

    .avesis-carousel-header {
        padding: 16px 20px;
    }

    .avesis-carousel-title {
        font-size: 18px;
    }

        .avesis-carousel-title i {
            width: 36px;
            height: 36px;
            font-size: 18px;
        }

    .avesis-carousel-content {
        padding: 16px;
    }

    .avesis-carousel-btn {
        width: 36px;
        height: 36px;
    }
}
