/**
 * 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-hummingbird .rbf-withdrawal-wrap {
  width: 100%;
}

.rbf-theme-hummingbird .rbf-withdrawal-btn {
  border: none;
  width: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rbf-theme-hummingbird .footer__before .rbf-withdrawal-wrap,
.rbf-theme-hummingbird .footer__main-top .rbf-withdrawal-wrap {
  padding: 0.5rem 0;
}

.rbf-theme-hummingbird .rbf-withdrawal-form .mb-3 {
  margin-bottom: 1rem !important;
}

.rbf-theme-hummingbird .rbf-withdrawal-form .form-label {
  font-weight: 500;
}

.rbf-order-picker .rbf-orders-table {
  font-size: 0.95rem;
}
.rbf-order-picker .btn-sm {
  min-height: 36px;
}

/* Hummingbird theme: order history grid */
.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;
  }
}
