/* Zones Section */
.uitkm-zones {
    width: 100%;
    padding: 40px 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.uitkm-zones__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 32px;
    box-sizing: border-box;
}

/* Slider Wrapper */
.uitkm-zones__slider-wrapper {
    position: relative;
    padding: 0 20px;
    box-sizing: border-box;
    -webkit-box-shadow: 0 6px 16px rgba(28, 30, 34, .12);
    box-shadow: 0 6px 16px rgba(28, 30, 34, .12);
    margin: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.uitkm-zones__slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    width: 64px;
    height: 100%;
    background: linear-gradient(to right, transparent, #ffffff);
    pointer-events: none;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease;
}
/* .uitkm-zones__slider-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 64px;
    height: 100%;
    background: linear-gradient(to left, transparent, #ffffff);
    pointer-events: none;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
} */

.uitkm-zones__slider-wrapper.is-end::after {
    opacity: 0;
}

/* Swiper Container */
.uitkm-zones__slider {
    width: 100%;
    overflow: visible;
    margin: 0;
    padding: 0;
}

.uitkm-zones__slider .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.uitkm-zones__slider .swiper-slide {
    height: auto;
    display: flex;
}

/* Card */
.uitkm-zones__card {
    background: #ffffff;
    border-radius: 0;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Card so le màu: card đầu tiên trắng, card thứ 2 #f1f5f9 */
.uitkm-zones__slider .swiper-slide:nth-child(odd) .uitkm-zones__card {
    background: #ffffff;
}

.uitkm-zones__slider .swiper-slide:nth-child(even) .uitkm-zones__card {
    background: #f1f5f9;
}



/* Card Header */
.uitkm-zones__card-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-direction: column;
}

.uitkm-zones__label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.uitkm-zones__name-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.uitkm-zones__name-link:hover {
    color: #2e438f;
}

.uitkm-zones__name {
    line-height: 1.4;
}

.uitkm-zones__external-icon {
    font-size: 0.875rem;
    color: #64748b;
    flex-shrink: 0;
}

/* Image Wrapper */
.uitkm-zones__image-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
}

.uitkm-zones__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
    border-radius: 6px;
}

/* Badge */
.uitkm-zones__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #16a34a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    line-height: 1.4;
    z-index: 1;
    white-space: nowrap;
    overflow: hidden;
}

.uitkm-zones__badge:after {
    background: #fff;
    content: "";
    height: 64px;
    width: 32px;
    opacity: .15;
    position: absolute;
    top: -12px;
    left: -100%;
    -webkit-transform: rotate(335deg);
    transform: rotate(335deg);
    -webkit-animation: 2s cubic-bezier(.19, 1, .22, 1) infinite g;
    animation: 2s cubic-bezier(.19, 1, .22, 1) infinite g;
    pointer-events: none;
    z-index: 0;
    -webkit-filter: blur(6px);
    filter: blur(6px);
}

@-webkit-keyframes g {
    0% {
        left: -100%;
    }
    100% {
        left: 150%;
    }
}

@keyframes g {
    0% {
        left: -100%;
    }
    100% {
        left: 150%;
    }
}

/* Details */
.uitkm-zones__details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.uitkm-zones__detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* gap: 12px; */
    flex-direction: column;
}

.uitkm-zones__detail-key {
    font-size: .8125rem;
    line-height: 1.125rem;
    font-weight: 400;
    color: #475569;
    opacity: .5;
}

.uitkm-zones__detail-value {
    color: #1e293b;
    text-align: right;
    flex: 1;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 400;
}

/* Types */
.uitkm-zones__types {
    margin-bottom: 16px;
    position: relative;
}

.uitkm-zones__types-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 8px;
}

.uitkm-zones__types-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    max-height: none;
    overflow: hidden;
}

/* Ẩn items từ thứ 3 trở đi */
.uitkm-zones__types-list .uitkm-zones__type-item:nth-child(n+3) {
    display: none;
}

/* Gradient fade effect */
.uitkm-zones__types-list::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(241, 245, 249, 0), rgba(241, 245, 249, 1));
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1;
}

/* Gradient cho card trắng */
.uitkm-zones__slider .swiper-slide:nth-child(odd) .uitkm-zones__types-list::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

/* Gradient cho card xám */
.uitkm-zones__slider .swiper-slide:nth-child(even) .uitkm-zones__types-list::after {
    background: linear-gradient(to bottom, rgba(241, 245, 249, 0), rgba(241, 245, 249, 1));
}

.uitkm-zones__type-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #1e293b;
    margin-bottom: 3px;
}

.uitkm-zones__type-icon {
    font-size: 1rem;
    color: #10b981;
    flex-shrink: 0;
}

.uitkm-zones__type-item span {
    line-height: 1.4;
}

/* Button */
.uitkm-zones__button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    color: #1e293b;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    margin-top: auto;
}

.uitkm-zones__button:hover {
    border-color: #2e438f;
    color: #2e438f;
    background: rgba(46, 67, 143, 0.05);
}

/* Navigation Arrows */
.uitkm-zones__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 20;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
}

.uitkm-zones__nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin: 0;
    font-size: 0;
    line-height: 0;
}

.uitkm-zones__nav-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.uitkm-zones__nav-btn:active {
    transform: scale(0.95);
}

.uitkm-zones__nav-btn i {
    font-size: 1.25rem;
    color: #1e293b;
}

.uitkm-zones__nav-btn--prev {
    left: 0;
    margin-left: 0;
}

.uitkm-zones__nav-btn--next {
    right: 0;
    margin-right: 0;
}

.uitkm-zones__nav-btn.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Swiper grab cursor */
.uitkm-zones__slider.swiper {
    cursor: grab;
}

.uitkm-zones__slider.swiper:active {
    cursor: grabbing;
}

/* Responsive - Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .uitkm-zones__slider-wrapper {
        padding: 0 16px;
    }
    
    .uitkm-zones__slider-wrapper::after {
        right: -2px;
    }
    
    .uitkm-zones__nav-btn--prev {
        left: 0;
    }
    
    .uitkm-zones__nav-btn--next {
        right: 0;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .uitkm-zones {
        padding: 32px 0;
    }
    
    .uitkm-zones__title {
        font-size: 1.25rem;
        margin-bottom: 24px;
        padding: 0;
    }
    
    .uitkm-zones__slider-wrapper {
        padding: 0 16px;
    }
    
    .uitkm-zones__slider-wrapper::after {
        right: -2px;
        width: 50px;
    }
    
    .uitkm-zones__card {
        padding: 16px;
    }
    
    .uitkm-zones__card-header {
        margin-bottom: 12px;
    }
    
    .uitkm-zones__image-wrapper {
        margin-bottom: 12px;
    }
    
    .uitkm-zones__details {
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .uitkm-zones__types {
        margin-bottom: 12px;
    }
    
    .uitkm-zones__nav-btn {
        width: 36px;
        height: 36px;
    }
    
    .uitkm-zones__nav-btn i {
        font-size: 1rem;
    }
    
    .uitkm-zones__nav-btn--prev {
        left: 0;
    }
    
    .uitkm-zones__nav-btn--next {
        right: 0;
    }
}
