.ads-popup-full {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex; /* Menambahkan display flex untuk center */
    align-items: center;
    justify-content: center;
    height: 100vh;
    z-index: 9999;
}

/* Container untuk gambar dan teks */
.image-container {
    position: relative;
    display: flex;
    justify-content: center; /* Centering gambar secara horizontal */
    align-items: center; /* Centering gambar secara vertikal */
    max-width: 90%; /* Pastikan gambar tidak lebih besar dari 90% lebar layar */
    max-height: 90%; /* Pastikan gambar tidak lebih besar dari 90% tinggi layar */
}

.ads-popup-full img {
    width: 100%; /* Mengatur lebar gambar supaya fleksibel */
    height: auto; /* Mengatur agar aspek ratio gambar tetap terjaga */
    object-fit: cover; /* Memastikan gambar mengisi kontainer dengan baik */
    border-radius: 10px;
}

.overlay-text {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5); /* Agar teks lebih terlihat */
    padding: 5px;
    border-radius: 5px;
}

.ads-popup-full .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: 1px solid #ef1f87;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
}

.ads-popup-full .close-btn i {
    color: #ef1f87;
}

@media (max-width: 991px) {
    .overlay-text {
        font-size: 15px;
    }
}

/* Responsivitas untuk ukuran kecil ke bawah (768px) */
@media (max-width: 768px) {
    .overlay-text {
        font-size: 10px;
    }
}





.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: 10px 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-whatsapp.close-mode {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
    transition: all 0.3s ease;
}

.floating-whatsapp i {
    font-size: 24px;
    margin-right: 10px;
    transition: all 0.3s ease; /* Tambahkan transisi pada ikon */
}

.floating-whatsapp.close-mode i {
    transform: rotate(180deg); /* Tambahkan rotasi saat mode close */
    margin-right: 0; /* Hilangkan margin */
}

.floating-whatsapp span {
    display: inline-block;
    opacity: 1;
    transition: opacity 0.3s ease; /* Tambahkan animasi opacity */
}

.floating-whatsapp.close-mode span {
    opacity: 0; /* Buat teks memudar */
    display: none; /* Sembunyikan teks */
}


.whatsapp-chat-box {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    width: 300px;
    box-sizing: border-box;
}

.whatsapp-chat-box .chat-box-header {
    display: flex;
    align-items: center;
    background-color: #25d366;
    color: #fff;
    padding: 10px;
    border-radius: 10px 10px 0 0;
}

.whatsapp-chat-box .chat-box-header i {
    font-size: 24px;
    margin-right: 10px;
}

.whatsapp-chat-box .chat-box-header span {
    flex-grow: 1;
    font-weight: bold;
}

.whatsapp-chat-box .chat-box-header .close-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
}

.whatsapp-chat-box p {
    margin: 10px 0;
    font-size: 14px;
    color: #333;
}

.whatsapp-chat-box .response-time {
    font-size: 12px;
    color: #999;
}
.whatsapp-chat-box .chat-list {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Jarak antar item */
    margin-top: 15px;
}

.whatsapp-chat-box .chat-list .chat-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f8f8f8;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.whatsapp-chat-box .chat-list .chat-item i {
    font-size: 20px;
    margin-right: 10px;
    color: #25d366;
}

.whatsapp-chat-box .chat-list .chat-item:hover {
    background-color: #25d366;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.whatsapp-chat-box .chat-list .chat-item:hover i {
    color: #fff; /* Warna ikon berubah jadi putih */
}

@media (max-width: 991px) {
    .floating-whatsapp {
        bottom: 10px;   /* Jarak dari bawah */
        right: 10px;    /* Jarak dari kanan */
        padding: 8px 12px;  /* Sesuaikan padding untuk ukuran lebih kecil */
        font-size: 12px;    /* Sesuaikan ukuran font */
    }
    
    .whatsapp-chat-box {
        right: 10px;
        bottom: 80px;  /* Jarak dari bawah tetap seperti sebelumnya */
    }
}
@media (max-width: 991px) {
    .floating-whatsapp {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 12px;  
    }
    .floating-whatsapp i{
        font-size: 20px;  
    }
    .whatsapp-chat-box {
        right: 10px;
        bottom: 70px;
    }
}

@media (max-width: 425px) {
    .floating-whatsapp {
        bottom: 15px;
        right: 10px;
        padding: 5px 8px;
        font-size: 8px;  
    }

    .floating-whatsapp i{
        font-size: 14px;  
    }
}