/* ============================================
   WIDGET CIRCLE - POSISI TENGAH (FULL CENTER)
   ============================================ */

/* Container utama slider */
.widget-circle-slider {
    margin: 20px auto;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

/* Track - hilangkan scroll horizontal */
.widget-slider-track {
    width: 100%;
    overflow: visible !important;
}

/* Container items - FLEX CENTER */
.widget-circle-items {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px;
    padding: 10px 16px;
    margin: 0 auto;
}

/* Style setiap circle link */
.widget-circle-link {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.widget-circle-link:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.widget-circle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========== RESPONSIVE MOBILE ========== */
/* Tablet */
@media (max-width: 768px) {
    .widget-circle-slider {
        margin: 15px auto;
    }

    .widget-circle-items {
        gap: 14px;
        padding: 8px 12px;
    }

    .widget-circle-link {
        width: 70px !important;
        height: 70px !important;
    }
}

/* Mobile HP */
@media (max-width: 576px) {
    .widget-circle-slider {
        margin: 10px auto;
    }

    .widget-circle-items {
        gap: 10px;
        padding: 6px 10px;
    }

    .widget-circle-link {
        width: 60px !important;
        height: 60px !important;
    }
}

/* Mobile kecil (480px ke bawah) */
@media (max-width: 480px) {
    .widget-circle-slider {
        margin: 8px auto;
    }

    .widget-circle-items {
        gap: 8px;
        padding: 5px 8px;
    }

    .widget-circle-link {
        width: 55px !important;
        height: 55px !important;
    }
}

/* ============================================
   BUBBLE WIDGET (Modal Popup)
   ============================================ */
.widget-bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.widget-bubble-container.active {
    visibility: visible;
    opacity: 1;
}

.widget-bubble-card {
    background: white;
    border-radius: 16px;
    max-width: 90%;
    width: 500px;
    position: relative;
    animation: bubbleSlideUp 0.3s ease;
}

@keyframes bubbleSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.widget-bubble-close-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.widget-bubble-close-icon:hover {
    background: rgba(0, 0, 0, 0.8);
}

.widget-bubble-close-icon svg {
    stroke: white;
    width: 16px;
    height: 16px;
}

.widget-bubble-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.widget-bubble-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-bubble-content {
    padding: 20px;
}

.widget-bubble-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
}

.widget-bubble-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.widget-bubble-detail {
    display: inline-flex;
    align-items: center;
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.widget-bubble-detail:hover {
    background: #0056b3;
    color: white;
}

@media (max-width: 768px) {
    .widget-circle-items {
        gap: 10px !important;
        padding: 5px 10px !important;
    }

    .widget-circle-link {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (max-width: 576px) {
    .widget-circle-items {
        gap: 8px !important;
        padding: 5px 8px !important;
    }

    .widget-circle-link {
        width: 55px !important;
        height: 55px !important;
    }
}