/* Iklan Kiri Floating */
.left-fixed-ad {
    position: fixed;
    top: 100px;
    left: 10px;
    z-index: 9999;
}
/* Stil umum untuk pop-up */
.ad-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none; /* Awalnya disembunyikan */
    z-index: 9999; /* Pastikan pop-up berada di atas semua elemen */
}

/* Stil untuk konten pop-up */
.ad-popup-content {
    position: absolute;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Posisi pop-up di kiri dashboard */
.ad-popup.left-dashboard {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
}

/* Posisi pop-up di kanan atas */
.ad-popup.top-right {
    right: 10px;
    top: 10px;
    width: 300px;
}

/* Posisi pop-up di bawah */
.ad-popup.bottom-center {
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: 300px;
}
/* Iklan Kanan Floating */
.right-fixed-ad {
    position: fixed;
    top: 100px;
    right: 10px;
    z-index: 9999;
}
.ad-section {
    margin-bottom: 20px;
}

.ad-image {
    width: 300px;
    height: auto;
    display: block;
     /* Mengatur gambar agar berada di tengah */
}

.ad-content {
    margin-top: 10px;
}
/* Reset default margin/padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Styling */
.header-mid {
    background-color: #ffffff;
    padding: 10px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    color: #333;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #007bff; /* Biru saat hover */
}

/* Logo */
.logo-img {
    size: 246px;
    width:728;
    object-fit: contain;
}

/* Navigasi */
.btn {
    color: #fff;
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3; /* Biru lebih tua saat hover */
}

.search-btn {
    margin-left: 10px;
}

.dark-mode-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-left: 10px;
}

.dark-mode-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196f3; /* Biru saat aktif */
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
    transform: translateX(20px);
}
/* .iklan-item {
    position: relative;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
} */

.btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

.btn-close:hover {
    background: rgba(255, 0, 0, 0.9);
}
.iklan-wrapper {
    transition: opacity 0.3s ease;
}

.iklan-wrapper.hidden {
    opacity: 0;
    pointer-events: none;
}