/* Đảm bảo các phần tử điều hướng hiển thị */
.owl-nav,
.owl-dots {
    display: block !important;
}

.owl-carousel .item {
    transition: transform 0.3s ease;
    /* Tạo hiệu ứng chuyển động */
    transform: scale(0.9);
    /* Kích thước nhỏ hơn cho các item khác */
}

/* Item chính giữa phóng to */
.owl-carousel .owl-item.center .item {
    transform: scale(1) translateZ(0);
}

.owl-nav {
    margin-top: 30px !important;
}


/* Kiểu cho các nút điều hướng */
.owl-carousel .owl-nav button {
    background-color: #2A458D !important;
    color: #fff !important;
    font-size: 48px;
    cursor: pointer;
    border-radius: 100% !important;
    width: 48px !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.owl-carousel .owl-nav button.owl-next {
    margin-left: 100px !important;
}

.owl-carousel .owl-nav button.owl-prev {
    margin-right: 100px !important;
}

.owl-carousel .owl-nav button:hover {
    background-color: #2a448db2 !important;
}


/* Kiểm tra và sửa CSS nếu chấm điều hướng không hiển thị */
.owl-carousel .owl-dots {
    display: flex !important;
    margin: 0 !important;
    justify-content: center;
    /* Căn giữa các chấm */
}

.owl-carousel .owl-dots .owl-dot {
    margin: 0 5px;
    /* Khoảng cách giữa các chấm */
}

.owl-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background-color: #EDEDED;
    border-radius: 50%;
    display: block;
    border: 1px solid #333333;
}

.owl-carousel .owl-dots .owl-dot.active span {
    border: 1px solid #0A96B4;
    background: #EDEDED !important;
}

.owl-dots {
    position: relative !important;
    bottom: 35px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: fit-content !important;
}

.owl-prev,
.owl-next {
    svg {
        display: unset !important;
        vertical-align: unset !important;
    }
}

.recruit-carousel .owl-nav button.owl-next {
    margin-left: 10px !important;
}

.recruit-carousel .owl-nav button.owl-prev {
    margin-right: 10px !important;
}

.recruit-carousel {
    .owl-nav {
        text-align: right !important;

        button {
            margin: 0 10px !important;
            background-color: #fff !important;
            border: 1px solid #333 !important;
            color: #333 !important;
        }

        button:hover {
            color: #fff !important;
        }

    }

    .owl-dots {
        width: calc(100% - 150px) !important;
        display: flex !important;
        align-items: center !important;
        padding: 0.25rem !important;
        background-color: var(--wp--custom--color--primary) !important;
        border-radius: 100px !important;
        left: 0 !important;
        transform: unset !important;

        .owl-dot {
            flex: 1 1 0% !important;
            height: 0.625rem !important;
            outline: none !important;
            border: none !important;
            margin: 0;

            span {
                width: 100% !important;
                height: 100% !important;
                margin: 0 !important;
                border: none !important;
                box-shadow: unset !important;
                border-radius: 100px;
                background: transparent !important;
            }

            &.active span {
                background-color: #fff !important;
            }
        }
    }
}