#elo-mp-form-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

#elo-mp-form-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Customizing the Mercado Pago Brick container */
#cardPaymentBrick_container,
#elo-mp-blocks-card-brick-container,
.elo-mp-blocks-card-mount {
    min-height: 300px;
    max-width: 340px;
    margin: 0 auto;
    width: 100%;
}

.elo-mp-blocks-wrap {
    width: 100%;
}

.elo-mp-blocks-description {
    margin-bottom: 12px;
}

.elo-mp-loader {
    font-family: inherit;
    color: #009ee3;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.elo-mp-loader::after {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #009ee3;
    border-top-color: transparent;
    border-radius: 50%;
    margin-left: 10px;
    animation: elo-spin 0.8s linear infinite;
}

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

.woocommerce-checkout #payment ul.payment_methods li img {
    max-height: 24px;
    margin-left: 10px;
}

/* Premium Typography for headers in the form */
#elo-mp-form-container h3 {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

/* Styling for the payment method description */
.payment_method_elo_mercado_pago .payment_box {
    background-color: #fcfcfc !important;
    border-radius: 12px !important;
    border: 1px solid #eee !important;
}

.payment_method_elo_mercado_pago .payment_box::before {
    border-bottom-color: #fcfcfc !important;
}

/* Transition for the checkout button when it's loading */
.woocommerce-checkout.processing .place-order {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Pix / boleto — página de obrigado */
.elo-mp-pix-thankyou,
.elo-mp-boleto-thankyou {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 12px;
}

.elo-mp-pix-thankyou h3,
.elo-mp-boleto-thankyou h3 {
    margin-top: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.elo-mp-pix-thankyou .elo-mp-pix-qr {
    margin: 1rem 0;
    text-align: center;
}

.elo-mp-pix-thankyou .elo-mp-pix-qr img {
    max-width: 220px;
    height: auto;
    border-radius: 8px;
}

.elo-mp-pix-thankyou .elo-mp-pix-copy-wrap {
    margin-top: 1rem;
}

.elo-mp-pix-thankyou .elo-mp-pix-code {
    width: 100%;
    box-sizing: border-box;
    font-family: ui-monospace, monospace;
    font-size: 0.85rem;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    min-height: 4.5rem;
}

.elo-mp-pix-thankyou .elo-mp-pix-copy-btn {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: #009ee3;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.elo-mp-pix-thankyou .elo-mp-pix-copy-btn:hover {
    filter: brightness(0.95);
}

.elo-mp-boleto-thankyou a {
    background: #00a600;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 25px;
    font-weight: 400;
}
.elo-mp-boleto-thankyou a:hover {
    background: #00b100;
}
