/* Sticky Ads */
#abpro-sticky-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    text-align: center;
    transition: all 0.3s ease;
}

.sticky-content {
    position: relative;
    display: inline-block;
    max-width: 100%;
    min-height: 50px;
}

.sticky-close {
    position: absolute;
    top: -10px;
    right: 48%;
    background: #333;
    color: #fff;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 25px;
    padding: 0;
    z-index: 10;
}

@media (max-width: 480px) {
    #abpro-sticky-container {
        padding: 5px 0;
    }
}


/* Pop Up Ads */
#abpro-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Background gelap transparan */
    z-index: 100000;
    display: none;
    /* Default sembunyi, diubah lewat JS */
    justify-content: center;
    align-items: center;
}

.popup-content {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ff4444;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.popup-body img,
.popup-body iframe {
    max-width: 100%;
    height: auto;
    display: block;
}


/* Vignette */
#abpro-vignette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 2147483647;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.3s ease;
}

.vignette-container {
    width: 100%;
    /* max-width: 600px; */
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.vignette-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.vignette-label {
    font-family: sans-serif;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.vignette-close-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.vignette-body {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.vignette-body ins,
.vignette-body iframe {
    margin: auto !important;
}

/* Sticky Top */

#abpro-sticky-top {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 99999;
    text-align: center;
}

.st-container {
    background: #fff;
    border-bottom: 2px solid #0073aa;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease-in-out;
}

.st-close-btn {
    position: absolute;
    bottom: -20px;
    right: 10px;
    background: #0073aa;
    color: white;
    border: none;
    padding: 2px 10px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 0 0 5px 5px;
}

#st-reopen-btn {
    background: #9f7be8;
    color: #fff;
    border: none;
    padding: 5px 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

#st-reopen-btn:before {
    content: "🚀";
    font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    font-size: 18px !important;
}

.st-content {
    display: flex;

}

.st-content img {
    max-width: 100%;
    height: auto;
}

/* Sample Iklan */

.ab-container {
    width: 100vw;
    /* height: 100vh; */
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: transform 0.3s;
    text-decoration: none;
}

.ab-container:hover {
    transform: scale(1.02);
}

.ab-title {
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
}

.ab-button {
    background: #fff;
    color: #6e8efb;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}