/**
 * Return Button free – EU online withdrawal (Directive 2023/2673)
 * PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
 *
 * @author    VEKIA.PL VATEU: PL9730945634
 * @copyright 2010-2026 VEKIA
 * @license   This program is not free software and you can't resell and redistribute it
 *
 * * CONTACT WITH DEVELOPER https://mypresta.eu
 * * support@mypresta.eu
 */
.rbf-theme-classic .rbf-withdrawal-btn {
  border: none;
}

.rbf-theme-classic .rbf-withdrawal-form .form-group {
  margin-bottom: 1rem;
}

.rbf-theme-classic .rbf-withdrawal-form .card {
  margin-bottom: 1.25rem;
}

/* Classic theme: order history grid (PS 8+) */
.order-history.rbf-order-history-enhanced .order-history__header,
.order-history.rbf-order-history-enhanced .order-history__row {
  grid-template-columns:
    minmax(6.5rem, 1.15fr)
    minmax(5.5rem, 0.85fr)
    minmax(5rem, 0.75fr)
    minmax(6rem, 1.1fr)
    minmax(6.5rem, 1.15fr)
    minmax(3.5rem, 0.55fr)
    minmax(5.5rem, 1fr)
    minmax(7rem, 1.25fr);
}

.order-history.rbf-order-history-enhanced .order-history__cell--withdrawal {
  min-width: 0;
}

.order-history.rbf-order-history-enhanced .order-history__cell--withdrawal .rbf-order-history-actions {
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .order-history.rbf-order-history-enhanced .order-history__cell--withdrawal .rbf-order-history-actions {
    justify-content: center;
  }
}
