/* Stripe 支付网关样式 */

/* 验证弹窗容器 */
#verification-iframe {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.8); */
    z-index: 999999;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s;
}

/* 显示状态 */
#verification-iframe.show {
    display: flex;
}

/* 验证iframe */
#stripe-3ds-frame {
    width: 100% ;
    height: 100% ;
    max-width: 100%;
    border: 0;
    border-radius: 8px;
    /* background: rgba(0, 0, 0, 0.8); */
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); */
    margin: auto;
    
    transition: opacity 0.5s;
}


/* #stripe-3ds-frame {
    width: 450px ;
    height: 680px ;
    max-width: 100%;
    border: 0;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin: auto;
} */

/* 响应式适配 */
@media (max-width: 768px) {
    #stripe-3ds-frame {
        width: 95vw;
        height: 90vh;
        min-width: 300px;
        min-height: 250px;
    }
}

/* 卡片容器样式 */
#stripe-card-container {
    margin: -4px 0px !important;
    padding: 0px !important;
    border: none !important;
    display: block !important;
    background: transparent !important;
    position: relative !important;
    opacity: 1 !important;
    clear: both !important;
    transition: height 0.35s !important;
    height: 160.969px;
}

/* 支付iframe */
#stripe-iframe {
    border: 0px !important;
    margin: -4px;
    padding: 0px !important;
    width: calc(100% + 8px);
    min-width: 100% !important;
    overflow: hidden !important;
    display: block !important;
    user-select: none !important;
    transform: translate(0px) !important;
    color-scheme: light only !important;
    height: 160.969px;
    opacity: 1;
    transition: height 0.35s, opacity 0.4s 0.1s;
}
