/**
 * Evo Withdrawal Button - front office styles.
 *
 * @author    Evo Sistemi di Cirone Simone
 * @copyright 2026 Evo Sistemi di Cirone Simone
 * @license   AFL-3.0
 */

.evo-withdrawal {
    max-width: 680px;
    margin: 0 auto;
}

.evo-withdrawal__intro {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: #f6f8fa;
    border-left: 4px solid #2d7ff9;
    border-radius: 4px;
}

.evo-withdrawal__form .form-group {
    margin-bottom: 1.25rem;
}

.evo-withdrawal__actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.evo-withdrawal__summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0.5rem 1rem;
    margin: 1.5rem 0;
}

.evo-withdrawal__summary dt {
    font-weight: 600;
}

.evo-withdrawal__summary dd {
    margin: 0;
}

.evo-withdrawal__confirm-btn {
    font-weight: 700;
}

/* Persistent footer link (continuous availability). */
.evo-withdrawal-footer {
    width: 100%;
    margin: 0.75rem 0;
    padding: 0.5rem 0;
    text-align: center;
}

.evo-withdrawal-widget {
    margin: 0.5rem 0;
}

.evo-withdrawal-orderdetail {
    margin: 1rem 0;
}

/* Hover feedback for the injected button (works with the inline base styles). */
.evo-withdrawal-btn {
    transition: opacity 0.15s ease-in-out;
}

.evo-withdrawal-btn:hover {
    opacity: 0.9;
}

.evo-withdrawal__custom-success {
    margin: 1rem 0;
}

@media (max-width: 575px) {
    .evo-withdrawal__summary {
        grid-template-columns: 1fr;
    }
}
