/* ---------- MODAL OVERLAY ---------- */
.info_modal {
    display: none;
    position: fixed;
    z-index: 100000 !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(50, 51, 54, 0.27);
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Centered modal content wrapper */
.info_modal .info-modal-content {
    max-width: 1200px;
    margin: auto;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    position: relative;
}

/* ---------- LOGO ---------- */
.logo img {
    width: 160px;
    height: 45px;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* ---------- CLOSE BUTTON ---------- */
.ly-clos {
    position: absolute;
    top: 10px;
    left: 15px;
    color: #333;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.ly-clos:hover,
.ly-clos:focus {
    color: #888;
}

/* ---------- CURRENCY ICON ---------- */
.currency-symbol {
    width: 12px;
    height: 12px;
    object-fit: contain;
    margin-left: 6px;
}

/* ---------- SLIDER ARROWS ---------- */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 12px 16px;
    font-weight: bold;
    font-size: 20px;
    color: #fff;
    background: rgba(0,0,0,0.3);
    border-radius: 3px;
    user-select: none;
    transform: translateY(-50%);
    transition: 0.3s ease;
}

.next { right: 10px; }
.prev { left: 10px; }

.prev:hover,
.next:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
}

/* ---------- BADGE (RED BUBBLE) ---------- */
.ly-check-offer.badge {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 5px 10px;
    border-radius: 50%;
    background-color: red;
    color: #fff;
    font-size: 12px;
}

/* ---------- SEARCH BAR ---------- */
#search_advertiser[type="text"] {
    padding: 6px;
    font-size: 17px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#search_advertiser_button {
    padding: 6px 12px;
    background: #ddd;
    font-size: 17px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

#search_advertiser_button:hover {
    background: #ccc;
}

/* ---------- BOOTSTRAP OVERRIDES ---------- */
.modal-content {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.modal-header {
    border-bottom: none;
}

/* ---------- ACTION BUTTON ---------- */
.btn-buy {
    background-color: #ff5722;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 6px;
}

.btn-buy:hover {
    background-color: #e64a19;
}

/* ---------- RESPONSIVE ADJUSTMENTS ---------- */
@media (max-width: 768px) {
    .info_modal {
        padding: 20px 10px;
    }

    .info_modal .info-modal-content {
        padding: 15px;
    }

    .ly-clos {
        font-size: 30px;
        top: 5px;
    }

    .logo img {
        width: 130px;
        height: 38px;
    }

    .prev,
    .next {
        padding: 8px 12px;
        font-size: 16px;
    }
}
.explain-bubble {
    position: absolute;
    background: rgba(13,110,253,0.95);
    color: white;

    padding: 12px 16px;
    border-radius: 12px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    font-size: 13px;
    line-height: 1.5;

    display: none;
    z-index: 9999;
    text-align: right;
}

/* close */

.bubble-close {
    position: absolute;
    top: 6px;
    left: 8px;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

/* arrow pointing right */

.bubble-arrow {
    position: absolute;
    right: -10px;
    top: 40%;

    width: 0;
    height: 0;

    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 7px solid rgba(13,110,253,0.95);
}
