/* toefl-promo.css — Aisec TOEFL Promo Modal */

.promo-modal .modal-dialog {
    max-width: 860px;
    margin: 1.5rem auto;
}

.promo-modal .modal-content {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 24px 80px rgba(0,0,0,.55);
}

/* Image fills the modal — no padding */
.promo-modal .modal-body {
    padding: 0;
    line-height: 0;
}

.promo-modal .modal-body img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
}

/* Close button — floating top-right */
.promo-modal .promo-close-btn {
    position: absolute;
    top: .6rem;
    right: .7rem;
    z-index: 10;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s;
}

.promo-modal .promo-close-btn:hover {
    background: rgba(0,0,0,.82);
}

/* Entire banner is the CTA link */
.promo-modal .promo-banner-link {
    display: block;
    line-height: 0;
    cursor: pointer;
}

.promo-modal .promo-banner-link img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    transition: opacity .15s;
}

.promo-modal .promo-banner-link:hover img {
    opacity: .92;
}

/* Dark overlay */
.modal-backdrop.show {
    opacity: .72;
}

/* Responsive: full-width on small screens */
@media (max-width: 575px) {
    .promo-modal .modal-dialog {
        margin: .75rem;
        max-width: 100%;
    }
    .promo-modal .modal-body img {
        border-radius: .65rem;
    }
    .promo-modal .modal-content {
        border-radius: .65rem;
    }
    .promo-modal .promo-banner-link img {
        border-radius: .65rem;
    }
}
