/* 1. Reset & cơ bản */
.bs-modal.hidden {
    display: none;
}
.bs-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 9999;
}
.bs-modal {
    display: flex !important;
    align-items: center;
    justify-content: center;
    /* giữ nguyên position và overlay */
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 9999;
}

/* 2. Bỏ margin trên dialog */
.bs-modal__dialog {
    /* xóa margin cũ nếu có */
    margin: 0 !important;
    /* giữ nguyên các thuộc tính khác */
    max-width: 1260px;
    background: #fff;
    /*overflow: hidden;*/
    display: flex;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: fadeInUp 0.3s ease;
    border-radius: 32px;
}
/* 2. Overlay */
.bs-modal__overlay {
    position: absolute;
    top: 0; left: 0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.5);
}

/* 3. Dialog */
.bs-modal__dialog {
    position: relative;
    max-width: 1260px;
    margin: 5vh auto;
    background: #fff;
    border-radius: 32px;
    /*overflow: hidden;*/
    display: flex;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: fadeInUp 0.3s ease;
}

/* 4. Close button */
.bs-modal__close {
    position: absolute;
    top: 12px; right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* 5. Body flex */
.bs-modal__body {
    display: flex;
    width: 100%;
    border-radius: 32px;
}

/* 6. Left panel */
.bs-modal__left {
    flex: 0 0 37.5%;
    max-width: 37.5%;
    background: #ff4f4f;  /* đỏ tương tự hình */
    color: #fff;
    padding: 109px 64px;
    text-align: center;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
}
.bs-modal__left .bs-modal__icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.bs-modal__left .bs-modal__title {
    font-size: 96px;
    margin: 8px 0;
    color: rgba(255, 230, 17, 1);
    font-weight: bold;
    line-height: 1;
    padding: 0 36px;
}
.bs-modal__left .bs-modal__sub {
    line-height: 1.4;
    font-size: 48px;
    font-weight: 700;
}
.bs-modal__left .bs-modal__sub small {
    font-size: 24px;
    font-weight: 700;
}
/* 7. Right panel */
.bs-modal__right {
    flex: 1;
    padding: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bs-modal__right h3 {
    margin-top: 0;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
}
.bs-modal__btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background: #ff922b;
    color: #fff;
    border-radius: 24px;
    text-decoration: none;
    font-weight: bold;
}
.bs-modal__right p {
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 32px;
}
.to-prices {
    text-align: center;
    a {
        font-size: 20px;
        font-weight: 700;
        text-decoration: none;
        padding: 8px 82px
    }
    a:hover {
        color: #fff;
    }
}

/* 8. Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 9. Responsive */
@media (max-width: 768px) {
    .bs-modal__dialog { flex-direction: column; }
    .bs-modal__left, .bs-modal__right { padding: 16px; }

    .bs-modal__dialog {
        max-width: calc(100svw - 32px);
    }
    .bs-modal__body {
        display: block;
    }
    .bs-modal__left {
        max-width: 100%;
    }
    .bs-modal__title {
        font-size: 56px !important;
    }
    .bs-modal__sub {
        font-size: 24px !important;
        small {
            font-size: 16px !important;
        }
    }
    .bs-modal__right h3 {
        font-size: 20px;
        padding-top: 16px;
        margin-bottom: 16px;
    }
    .bs-modal__right p {
        font-size: 16px;
        margin-bottom: 16px;
    }
    .bs-modal__icon img {
        width: 72px;
    }
    .bs-modal__btn {
        font-size: 20px !important;
        padding: 8px 0 !important;
        text-align: center !important;
        width: 100%;
        margin-top: 0;
        margin-bottom: 16px;
    }
    .bs-modal {
        z-index: 9999999;
    }
    .bs-modal__left {
        border-top-right-radius: 32px;
        border-bottom-right-radius: 32px;
    }
}

