/* ========================================================
   API BANK STORE 367 - RENEW API MODAL (iOS 26 GLASS COMPACT)
   Gói 25.000đ/tháng - Chỉ hỗ trợ MBBank & Techcombank
   Tối ưu kích thước gọn gàng, vừa vặn toàn bộ màn hình
   ======================================================== */

.renew-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}

.renew-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.renew-modal-card {
    width: 100%;
    max-width: 340px;
    max-height: 92vh;
    background: rgba(12, 17, 28, 0.92);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    padding: 1.15rem 1.25rem;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 122, 255, 0.22),
        inset 0 1px 1px rgba(255, 255, 255, 0.35);
    position: relative;
    transform: scale(0.94) translateY(15px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
    overflow-y: auto;
    overflow-x: hidden;
    color: #ffffff;
    box-sizing: border-box;
}

/* Custom sleek glass scrollbar nếu màn hình quá nhỏ */
.renew-modal-card::-webkit-scrollbar {
    width: 4px;
}
.renew-modal-card::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.renew-backdrop.show .renew-modal-card {
    transform: scale(1) translateY(0);
}

.renew-close-btn {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}
.renew-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: rotate(90deg);
}

.renew-icon-squircle {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.22) 0%, rgba(123, 44, 191, 0.22) 100%);
    border: 1px solid rgba(0, 122, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem auto;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.25);
}
.renew-icon-squircle i {
    font-size: 1.35rem;
    color: #38bdf8;
    animation: renewRotate 10s infinite linear;
}
@keyframes renewRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.renew-title {
    font-size: 1.18rem;
    font-weight: 900;
    text-align: center;
    letter-spacing: -0.3px;
    color: #ffffff;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
}
.renew-sub {
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1.2px;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.renew-price-box {
    text-align: center;
    margin-bottom: 0.8rem;
    padding: 0.45rem 0;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}
.renew-price-val {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #ffffff;
    line-height: 1.1;
}
.renew-price-currency {
    font-size: 0.95rem;
    color: #38bdf8;
    font-weight: 800;
    margin-left: 2px;
}
.renew-price-period {
    font-size: 0.74rem;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 0.15rem;
}

.renew-section-title {
    font-size: 0.68rem;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

/* 2 Ngân hàng hỗ trợ chuẩn: Techcombank & MBBank */
.renew-banks-pills {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}
.renew-bank-pill {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    transition: all 0.2s ease;
}
.renew-bank-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}
.renew-bank-pill.pill-tcb {
    border-color: rgba(255, 59, 86, 0.3);
}
.renew-bank-pill.pill-mb {
    border-color: rgba(10, 132, 255, 0.35);
}

.renew-bank-logo {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.renew-bank-logo.bg-white {
    background: #ffffff;
    padding: 1px;
}
.renew-bank-logo.bg-blue {
    background: #002e77;
}
.renew-bank-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.renew-bank-info {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.renew-bank-tag {
    font-size: 0.74rem;
    font-weight: 800;
    color: #ffffff;
}
.renew-bank-limit {
    font-size: 0.64rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Features List */
.renew-features-list {
    list-style: none;
    margin-bottom: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0;
}
.renew-feature-item {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    line-height: 1.35;
}
.renew-feature-item i {
    color: #30d158;
    font-size: 0.88rem;
    flex-shrink: 0;
}
.renew-feature-item b {
    color: #ffffff;
}

/* Action Button */
.renew-btn-submit {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border-radius: 13px;
    background: linear-gradient(135deg, #007AFF 0%, #7B2CBF 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.35);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.renew-btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(123, 44, 191, 0.5);
    filter: brightness(1.1);
}
.renew-btn-submit:active {
    transform: translateY(0);
}
.renew-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
