/* Whopy v4.8.4 — bridge-iframe checkout CSS. Scoped selectors only. */

.whopy-v484-container,
.whopy-v484-wrapper,
.whopy-v483-container,
.whopy-v483-wrapper .whopy-v483-mount-host {
    margin-top: 16px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    min-height: 520px;
    position: relative;
}

.whopy-v484-loader,
.whopy-v483-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #64748b;
}

.whopy-v484-loader::after,
.whopy-v483-loader::after {
    content: "";
    width: 22px;
    height: 22px;
    margin-left: 10px;
    border: 3px solid #cbd5e1;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: whopy-v484-spin 1s linear infinite;
}

@keyframes whopy-v484-spin {
    to { transform: rotate(360deg); }
}

.whopy-v484-bridge-frame {
    display: block !important;
    width: 100% !important;
    min-height: 620px !important;
    height: 620px;
    border: 0 !important;
    background: #ffffff;
}

.whopy-v484-status,
.whopy-v483-status {
    margin: 12px 0 0;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.whopy-v484-status--error,
.whopy-v483-status--error {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 12px;
    border-radius: 8px;
}

.whopy-v484-pay-status {
    margin: 10px 2px 0;
    padding: 0 4px 10px;
    font-size: 14px;
    min-height: 18px;
}

.whopy-v484-pay-status.is-error { color: #dc2626; }
.whopy-v484-pay-status.is-info { color: #059669; }
.whopy-v484-pay-status.is-success { color: #059669; font-weight: 600; }

body.whopy-v484-active .wc-block-components-checkout-place-order-button,
body.whopy-v483-active .wc-block-components-checkout-place-order-button {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.payment_method_whop label img {
    max-height: 24px;
    margin-left: 10px;
    vertical-align: middle;
}

@media (max-width: 600px) {
    .whopy-v484-container,
    .whopy-v484-wrapper,
    .whopy-v484-bridge-frame {
        min-height: 680px !important;
        height: 680px;
    }
}

/* Hide WooCommerce phone field even when a theme/plugin prints it after PHP filters. */
#billing_phone_field,
.woocommerce-billing-fields #billing_phone_field,
.whopy-hidden-phone-field {
    display: none !important;
}
