/*
 * Estilos para el Plugin de Wompi Gaia
 */

.wompi-response-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  border: 1px solid #e0e0e0;
  padding: 40px 30px;
  background-color: #fafafa;
  max-width: 700px;
  margin: 50px auto 20px;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.wompi-response-wrapper h2 {
  margin: 0;
  color: var(--e-global-color-primary);
  font-family: var(--e-global-typography-secondary-font-family);
  font-size: var(--e-global-typography-secondary-font-size);
  font-weight: var(--e-global-typography-secondary-font-weight);
  line-height: var(--e-global-typography-secondary-line-height);
}

.wompi-response-wrapper p {
  font-family: var(--e-global-typography-2d906fa-font-family);
  font-size: var(--e-global-typography-2d906fa-font-size);
  font-weight: var(--e-global-typography-2d906fa-font-weight);
  line-height: var(--e-global-typography-2d906fa-line-height);
  margin: 0;
}

.wompi-response-wrapper .status-approved {
  color: var(--e-global-color-primary);
  font-family: var(--e-global-typography-secondary-font-family);
  font-size: var(--e-global-typography-secondary-font-size);
  font-weight: var(--e-global-typography-secondary-font-weight);
  line-height: var(--e-global-typography-secondary-line-height);
}

.wompi-response-wrapper .status-declined,
.wompi-response-wrapper .status-error {
  color: var(--e-global-color-primary);
  font-family: var(--e-global-typography-secondary-font-family);
  font-size: var(--e-global-typography-secondary-font-size);
  font-weight: var(--e-global-typography-secondary-font-weight);
  line-height: var(--e-global-typography-secondary-line-height);
}

.wompi-response-wrapper .status-pending {
  color: var(--e-global-color-primary);
  font-family: var(--e-global-typography-secondary-font-family);
  font-size: var(--e-global-typography-secondary-font-size);
  font-weight: var(--e-global-typography-secondary-font-weight);
  line-height: var(--e-global-typography-secondary-line-height);
}

.wompi-response-wrapper--respuesta {
  margin: 50px auto 20px !important;
}

.container-reponse__button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 100px;
  max-width: 326px;
  margin: 0 auto 100px;
}

.container-reponse__button a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--e-global-color-secondary);
  padding: 12px 30px;
  color: #fff !important;
  font-family: var(--e-global-typography-accent-font-family);
  font-size: var(--e-global-typography-accent-font-size);
  font-weight: var(--e-global-typography-accent-font-weight);
  line-height: var(--e-global-typography-accent-line-height);
  border-radius: 7px;
  max-width: 326px !important;
  width: 100%;
  text-decoration: none !important;
}

.container-reponse__button a:hover {
  background-color: var(--e-global-color-primary);
}

/* Styles for Receipt Consultation */
.container {
  max-width: 100%;
  background-color: #f5f5f5;
  min-height: 606px;
  padding-top: 30px;
  background-image: url(/wp-content/uploads/icono-grande-positiva.png);
  background-position: center left;
  background-repeat: no-repeat;
  background-size: contain;
}

.container h1 {
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}

.banner-user__breadcrumb--width {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 50px;
  font-family: var(--e-global-typography-43dda08-font-family);
  font-size: var(--e-global-typography-43dda08-font-size);
  font-weight: var(--e-global-typography-43dda08-font-weight);
  line-height: var(--e-global-typography-43dda08-line-height);
  color: var(--e-global-color-secondary);
}

.container__section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 732px;
  margin: 0 auto;
  gap: 30px;
  background-color: #fff;
  border-radius: 30px;
  padding: 40px;
  text-align: center;
}

.container__text h2 {
  color: var(--e-global-color-secondary);
  font-family: var(--e-global-typography-primary-font-family);
  margin: 0;
  font-weight: bold;
  font-size: var(--e-global-typography-secondary-font-size);
}

.container__text h2 span{
  color: var(--e-global-color-primary);
}

.container__text p {
  color: #848484;
  font-size: var(--e-global-typography-fe9d035-font-size);
  font-weight: 400;
  line-height: 22px;
  margin: 15px 0 0 0;
}

.container__form {
  width: 100%;
}

.container__form-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.container__form-group .container__form-field:nth-child(1) {
  max-width: 279px;
}

.container__form-field {
  width: 100%;
  text-align: left;
}

.container__form-field label {
  color: #5d6977;
  font-weight: 600;
  font-size: var(--e-global-typography-aab9ce0-font-size);
  padding-left: 8px;
}

.container__form-field input[type="text"],
.container__form-field input[type="password"],
.container__form-field select {
  width: -webkit-fill-available;
  padding: 10px 35px 10px 15px;
  border: 1px solid #d9dce3;
  border-radius: 7px;
  font-size: var(--e-global-typography-text-font-size);
  color: #313131;
  font-family: var(--e-global-typography-ad30249-font-family);
}

.container__form-field input[type="text"]::placeholder {
    color: #313131;
    opacity: 0.6;
}

.container__form-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("/wp-content/uploads/flecha.svg") no-repeat right 11px center;
  background-size: 10px;
}

.container__form-button button {
  width: 158px;
  background-color: var(--e-global-color-secondary);
  font-family: var(--e-global-typography-primary-font-family);
  color: white;
  padding: 12px 30px;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
  position: relative;
  margin-top: 24px;
}

.btn--arrow::after {
  content: url("/wp-content/uploads/flecha-btn.svg");
  display: inline-block;
  margin-left: 10px;
}

.container__form-button button:hover {
  background-color: var(--e-global-color-primary);
}

/* Receipts Table Styles */
.container__resultadoConsulta {
  max-width: 100%;
  display: none;
}

.result-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 0;
  border-radius: 4px;
  background-color: #fff;
  min-height: 50px;
  color: #333;
}

.errorReceipt {
  display: none; /* 🔹 Oculto inicialmente */
  color: #dc3545;
  background-color: #fff5f5;
  font-family: var(--e-global-typography-ad30249-font-family);
  font-size: var(--e-global-typography-ad30249-font-size);
  font-weight: var(--e-global-typography-ad30249-font-weight);
  line-height: var(--e-global-typography-ad30249-line-height);
  margin-top: 10px;
}

.receipts-title {
  color: var(--e-global-color-primary);
  padding-bottom: 20px;
  font-size: var(--e-global-typography-8aa2421-font-size);
  font-weight: 600;
  font-family: var(--e-global-typography-primary-font-family);
}

.container-reponse__button a {
  max-width: 100%;
}

#table-facturas.receipts-table {
  all: unset;
  all: revert;
  display: table;
  width: 100%;
  margin-top: 0;
  border: 1px solid #ededed !important;
  border-radius: 20px;
  border-spacing: 0;
  border-collapse: separate;
}

#table-facturas.receipts-table th:first-child {
  width: 80px;
  text-align: center;
}

#table-facturas.receipts-table th:nth-child(2),
#table-facturas.receipts-table td:nth-child(2),
#table-facturas.receipts-table th:nth-child(3),
#table-facturas.receipts-table td:nth-child(3),
#table-facturas.receipts-table th:nth-child(4),
#table-facturas.receipts-table td:nth-child(4) {
  width: 373px;
}

#table-facturas.receipts-table thead {
  border-radius: 20px 20px 0 0;
}

#table-facturas th,
#table-facturas td {
  border: none; /* quita el borde gris de Elementor */
}

#table-facturas.receipts-table tbody th,
#table-facturas.receipts-table tbody td {
  padding: 15px 24px;
  border-bottom: 1px solid var(--e-global-color-secondary);
  font-family: var(--e-global-typography-text-font-family);
  font-size: var(--e-global-typography-text-font-size);
  font-weight: var(--e-global-typography-text-font-weight);
  line-height: var(--e-global-typography-text-line-height);
  color: #313131;
}

#table-facturas.receipts-table tbody > tr:nth-child(odd) > td,
#table-facturas.receipts-table tbody > tr:nth-child(odd) > th {
  background-color: transparent;
  vertical-align: middle;
}

#table-facturas.receipts-table thead th {
  border-bottom: 2px solid var(--e-global-color-secondary);
  background-color: #f7f7f7;
  color: var(--e-global-color-secondary);
  font-family: var(--e-global-typography-d918ad2-font-family);
  font-size: var(--e-global-typography-d918ad2-font-size);
  font-weight: var(--e-global-typography-d918ad2-font-weight);
  line-height: var(--e-global-typography-d918ad2-line-height);
  position: relative;
  padding-left: 24px;
  text-align: left;
}

#table-facturas.receipts-table th:first-child {
  border-top-left-radius: 20px;
}

#table-facturas.receipts-table tr th:first-child,
#table-facturas.receipts-table tr td:first-child {
  padding-left: 32px;
  padding-right: 19px;
}

#table-facturas.receipts-table th:last-child {
  border-top-right-radius: 20px;
}

#table-facturas.receipts-table tbody tr:nth-child(odd) {
  background-color: #fff;
}

#table-facturas.receipts-table tbody tr:nth-child(even) {
  background-color: #fff;
}

#table-facturas.receipts-table tbody tr:hover {
  background-color: #fae9dd;
}

#table-facturas .checkbox-cell {
  width: 32px;
  text-align: center;
}

#table-facturas .sort-arrow {
  display: inline-block;
  width: 12px;
  height: 8px;
  margin-left: 10px;
  background-image: url("/wp-content/uploads/flecha-tabla.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

#table-facturas .total-row {
  color: white;
  font-weight: bold;
}

#table-facturas .total-row td {
  padding: 15px;
  border-bottom: transparent;
}

#table-facturas .total-row td:nth-child(1) {
  background-color: var(--e-global-color-text);
  border-bottom-left-radius: 20px;
  font-family: var(--e-global-typography-9869513-font-family);
  font-size: var(--e-global-typography-9869513-font-size);
  font-weight: var(--e-global-typography-9869513-font-weight);
  line-height: var(--e-global-typography-9869513-line-height);
}

#table-facturas .total-row td:nth-child(2) {
  color: var(--e-global-color-primary);
  font-family: var(--e-global-typography-9869513-font-family);
  font-size: var(--e-global-typography-9869513-font-size);
  font-weight: var(--e-global-typography-9869513-font-weight);
  line-height: var(--e-global-typography-9869513-line-height);
}

#table-facturas.receipts-table th:nth-child(4) {
  text-align: right;
  padding-right: 30px;
}

#table-facturas.receipts-table tfoot td,
#table-facturas.receipts-table td:nth-child(4) {
  text-align: right;
  padding-right: 50px;
}

/*Paginador*/
.pagination-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px !important;
  margin: 0 auto;
  justify-content: center;
}

.pagination-controls select {
  padding: 8px 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 79px;
  font-family: var(--e-global-typography-fe9d035-font-family);
  font-size: var(--e-global-typography-fe9d035-font-size);
  font-weight: var(--e-global-typography-fe9d035-font-weight);
  line-height: var(--e-global-typography-fe9d035-line-height);
}

.pagination-controls select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url(/wp-content/uploads/flecha.svg) no-repeat right 1rem center;
}

.pagination-numbers {
  display: flex;
  gap: 6px;
  align-items: center;
}

.pagination-numbers button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s;
  font-family: var(--e-global-typography-2d906fa-font-family);
  font-size: var(--e-global-typography-2d906fa-font-size);
  font-weight: var(--e-global-typography-2d906fa-font-weight);
  line-height: var(--e-global-typography-2d906fa-line-height);
  color: var(--e-global-color-primary);
}

.pagination-numbers button:hover {
  background: var(--e-global-color-secondary);
}

.pagination-numbers .active {
  background: var(--e-global-color-secondary);
  color: white;
  font-weight: bold;
}

.pagination-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

#paginationInfo {
  font-size: 14px;
  color: #333;
}

.pagination-group label {
  font-family: var(--e-global-typography-2d906fa-font-family);
  font-size: var(--e-global-typography-2d906fa-font-size);
  font-weight: var(--e-global-typography-2d906fa-font-weight);
  line-height: var(--e-global-typography-2d906fa-line-height);
  color: var(--e-global-color-primary);
}

.pagination-numbers button img {
  width: 7px;
  height: 11px;
  vertical-align: middle;
}

.pay-button-container {
  text-align: center;
  padding-top: 40px;
}

.pay-button {
  background-color: var(--e-global-color-secondary);
  color: white;
  font-weight: 600;
  font-size: var(--e-global-typography-accent-font-size);
  border: none;
  border-radius: 7px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  min-height: 48px;
  min-width: 188px;
  font-family: var(--e-global-typography-primary-font-family);
}

.pay-button:hover {
  background-color: var(--e-global-color-primary); /* Darker orange on hover */
}

button:focus {
  background-color: var(--e-global-color-primary) !important;
}

#selectAllReceipts,
.receipt-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--e-global-color-secondary);
  border-radius: 4px;
  cursor: pointer;
  background-color: #fff;
  position: relative;
  line-height: 0;
}

#selectAllReceipts:checked,
.receipt-checkbox:checked {
  background-color: var(--e-global-color-secondary);
  border: 1px solid var(--e-global-color-secondary);
}

#selectAllReceipts:checked::after,
.receipt-checkbox:checked::after {
  content: "✓";
  color: #ffffff; /* color del check */
  font-size: 12px;
  background-color: var(--e-global-color-secondary);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}

#table-facturas.receipts-table tr.row-selected {
  background-color: #fae9dd !important;
}

/*Pantalla tabla wompi resultado factura*/
.wompi-checkout-details {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 50px 0 100px 0;
}

.wompi-checkout-details h2 {
  font-size: var(--e-global-typography-8aa2421-font-size);
  font-weight: var(--e-global-typography-8aa2421-font-weight);
  font-family: var(--e-global-typography-primary-font-family);
}

#table-wompi.payment-details-table {
  width: 100%;
  border-spacing: 0;
}

#table-wompi.payment-details-table th,
#table-wompi.payment-details-table td {
  width: 400px; /* Todas las columnas de 400px */
  border: none;
  background-color: #ffff;
}

#table-wompi.payment-details-table thead {
  background-color: #f7f7f7;
  color: var(--e-global-color-secondary);
}

#table-wompi.payment-details-table thead th {
  padding: 13px 5px 14px 24px;
  text-align: left;
  font-family: var(--e-global-typography-primary-font-family);
  border-bottom: 2px solid var(--e-global-color-secondary);
  font-size: var(--e-global-typography-d918ad2-font-size);
  font-weight: 600;
  background-color: #f7f7f7;
}

#table-wompi.payment-details-table tbody td {
  padding: 30px 24px;
  text-align: left;
  font-size: var(--e-global-typography-text-font-size);
  font-weight: var(--e-global-typography-text-font-weight);
  font-family: var(--e-global-typography-ad30249-font-family);
  color: #313131;
}

#table-wompi.payment-details-table .total-row td {
  padding: 15px 24px;
  text-align: right;
  border-bottom: none;
}

#table-wompi.payment-details-table .total-row td:nth-child(1) {
  padding: 15px 24px;
  text-align: right;
  border-radius: 0%;
  background-color: #f7f7f7;
  color: var(--e-global-color-secondary);
  font-size: var(--e-global-typography-9869513-font-size);
  font-family: var(--e-global-typography-ad30249-font-family);
  font-weight: 700;
}

#table-wompi.payment-details-table
  .total-row
  td
  #table-wompi.payment-details-table
  .total-row
  td:nth-child(2) {
  padding-right: 30px;
  background-color: #fff;
}

#table-wompi.payment-details-table th:nth-child(3),
#table-wompi.payment-details-table td:nth-child(3) {
  text-align: right;
  padding-right: 30px;
}

.form__botonWompi {
  display: flex;
  justify-content: flex-end;
}

.form__botonWompi button {
  background-color: var(--e-global-color-secondary);
  padding: 4px 25px;
  height: 50px !important;
  border-radius: 5px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-family: var(--e-global-typography-accent-font-family);
  font-size: var(--e-global-typography-accent-font-size);
  font-weight: var(--e-global-typography-accent-font-weight);
  line-height: var(--e-global-typography-accent-line-height);
}

.form__botonWompi button:hover {
  background-color: var(--e-global-color-primary);
}

.form__botonWompi button strong {
  font-family: var(--e-global-typography-accent-font-family);
  font-size: var(--e-global-typography-accent-font-size);
  font-weight: var(--e-global-typography-accent-font-weight);
  line-height: var(--e-global-typography-accent-line-height);
}

.form__botonWompi button::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  background-image: url(/wp-content/uploads/logo-pago-wompi.svg);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-top: 3px;
}

/*Banner*/
.banner-user {
  max-width: 100%;
  background-image: url(/wp-content/uploads/banner-desk-positiva.png);
  background-position: left;
  background-repeat: no-repeat;
  background-size: cover;
  height: 191px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  gap: 30px;
}

.banner-user__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.banner-user__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.banner-user__breadcrumbs {
  font-family: var(--e-global-typography-primary-font-family);
  font-size: var(--e-global-typography-43dda08-font-size);
  color: #5d6977;
  margin-bottom: 30px;
}

.banner-user__nav,
.banner-user__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 5px;
}

.banner-user__nav a {
  text-decoration: none !important;
  color: var(--e-global-color-primary) !important;
}

.banner-user__nav a:hover{
  color: var(--e-global-color-secondary) !important;
}

.banner-user__nav span {
  color: var(--e-global-color-secondary);
  font-weight: 400;
}

.banner-user__name {
  font-size: var(--e-global-typography-primary-font-size);
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: 700;
  color: var(--e-global-color-primary);
  line-height: 32px;
  margin: 0;
}

.banner-user__data {
  font-size: var(--e-global-typography-7a93719-font-size);
  font-family: var(--e-global-typography-primary-font-family);
  color: var(--e-global-color-primary);
  margin: 4px 0;
}

.banner-user__underline {
  width: 60px;
  height: 5px;
  background: var(--e-global-color-secondary);
  margin-top: 6px;
  border-radius: 10px;
}

.banner-user__actions {
  display: flex;
  align-items: center;
}

.banner-user__info {
  padding-left: 0;
}

.banner-user__btn {
  background: var(--e-global-color-secondary);
  color: #fff !important;
  border: none;
  padding: 12px 30px;
  border-radius: 7px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
  font-size: var(--e-global-typography-accent-font-size);
  text-decoration: none !important;
  font-family: var(--e-global-typography-primary-font-family);
}

.banner-user__btn:hover {
  background: var(--e-global-color-primary);
  color: #fff;
}

#table-facturas.receipts-table-noresultado thead th {
  border-bottom: none;
}

#table-facturas.receipts-table-noresultado {
  border-radius: 20px;
}

#table-facturas.receipts-table-noresultado th:first-child {
  border-radius: 20px 0 0 20px;
}

#table-facturas.receipts-table-noresultado th:last-child {
  border-radius: 0 20px 20px 0;
}

@media (max-width: 1200px) {
  .banner-user__container,
  .container-resumenWompi,
  .banner-user__breadcrumb--width {
    padding: 0 50px;
  }

  .result-box {
    padding: 50px;
  }
}

@media (max-width: 768px) {
  .container__consulta {
    padding: 30px 16px 50px;
  }

  .container {
    background-image: url(/wp-content/uploads/logo-mobile-positiva.png);
  }

  .container__section {
    padding: 40px 20px;
  }

  .container__form-group {
    flex-direction: column;
  }

  .container__form-group .container__form-field:nth-child(1) {
    max-width: 100%;
  }

  .container__form-button button {
    width: 100%;
  }
  /*Tabla*/
  #table-facturas.receipts-table {
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
  }

  #table-facturas.receipts-table th:first-child,
  #table-facturas.receipts-table td:first-child {
    max-width: 36px;
  }

  #table-facturas.receipts-table th:nth-child(2),
  #table-facturas.receipts-table td:nth-child(2),
  #table-facturas.receipts-table th:nth-child(3),
  #table-facturas.receipts-table td:nth-child(3),
  #table-facturas.receipts-table th:nth-child(4),
  #table-facturas.receipts-table td:nth-child(4) {
    max-width: 122px;
    width: fit-content;
  }

  #table-facturas.receipts-table th,
  #table-facturas.receipts-table td {
    font-size: 13px;
    padding: 10px;
    white-space: normal;
    text-align: left;
  }

  #table-facturas.receipts-table td {
    text-align: center;
  }

  #table-facturas.receipts-table tr {
    border-bottom: 1px solid #ddd;
  }

  #table-facturas .checkbox-cell {
    width: 26px;
  }

  #table-facturas.receipts-table tfoot td,
  #table-facturas.receipts-table td:nth-child(4) {
    padding-right: 10px;
  }

  #table-facturas.receipts-table tbody th,
  #table-facturas.receipts-table tbody td {
    padding: 17px 10px;
    text-align: left;
    font-family: var(--e-global-typography-2d906fa-font-family);
    font-size: var(--e-global-typography-2d906fa-font-size);
    font-weight: var(--e-global-typography-2d906fa-font-weight);
    line-height: var(--e-global-typography-2d906fa-line-height);
  }

  #table-facturas.receipts-table th:nth-child(4),
  #table-facturas.receipts-table td:nth-child(4) {
    padding-right: 10px;
  }

  #table-facturas.receipts-table tr th:first-child,
  #table-facturas.receipts-table tr td:first-child,
  #table-facturas.receipts-table thead th {
    padding-left: 10px;
    padding-right: 18px;
    vertical-align: middle;
  }

  #table-facturas.receipts-table th:nth-child(4),
  #table-facturas.receipts-table td:nth-child(4) {
    text-align: left;
  }

  #table-facturas.receipts-table {
    border-radius: 10px;
  }

  #table-facturas.receipts-table th:first-child {
    border-top-left-radius: 10px;
  }

  #table-facturas.receipts-table th:last-child {
    border-top-right-radius: 10px;
  }

  #table-facturas .total-row td:nth-child(1) {
    border-bottom-left-radius: 10px;
    font-size: 12px;
  }

  #table-facturas .total-row td:nth-child(2) {
    font-size: 12px;
  }

  #table-facturas .total-row td {
    padding: 18px 10px;
  }

  .pay-button {
    width: 100%;
  }

  .result-box {
    padding: 45px 16px;
  }

  .banner-user__btn {
    padding: 8px 30px;
  }

  /*Tabla de wompi resultado factura*/

  #table-wompi.payment-details-table {
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
    border-spacing: 0;
    border-collapse: collapse;
  }

  #table-wompi.payment-details-table th,
  #table-wompi.payment-details-table td {
    font-size: 13px;
    padding: 10px;
    white-space: normal;
    text-align: left;
    width: auto;
  }

  #table-wompi.payment-details-table td {
    text-align: center;
  }

  #table-wompi.payment-details-table thead th {
    padding: 3px 10px;
    vertical-align: middle;
  }

  #table-wompi.payment-details-table tbody td {
    padding: 20px 10px;
  }

  #table-wompi.payment-details-table th:nth-child(3) {
    text-align: left;
    padding-right: 20px;
  }

  #table-wompi.payment-details-table th:nth-child(3),
  #table-wompi.payment-details-table td:nth-child(3) {
    padding-right: 10px;
  }

  #table-wompi.payment-details-table .total-row td:nth-child(2) {
    padding: 15px 10px;
  }

  .form__botonWompi button {
    width: 100%;
  }

  .container-reponse__button {
    margin-top: 40px;
    max-width: 100%;
  }

  .container-reponse__button a {
    width: 100%;
    max-width: 100%;
  }

  #table-facturas.receipts-table-noresultado th:first-child {
    border-radius: 10px 0 0 10px;
  }

  #table-facturas.receipts-table-noresultado th:last-child {
    border-radius: 0 10px 10px 0;
  }

  /*Banner*/
  .banner-user {
    min-height: 258px;
    background-image: url(/wp-content/uploads/banner-mobile-positiva-1.png);
    background-position: center right;
    gap: 20px;
  }

  .banner-user__actions {
    width: 100%;
    justify-content: flex-end;
    margin-right: 16px;
  }

  .banner-user__breadcrumbs {
    margin-bottom: 20px;
  }

  .banner-user__content {
    gap: 20px;
  }

  .banner-user__info {
    padding-left: 16px;
  }

  /**/
  .banner-user__container,
  .container-resumenWompi {
    padding: 0 16px;
  }

  .banner-user__breadcrumb--width {
    padding: 0;
    margin-bottom: 30px;
  }

  .pagination-controls select {
    width: 64px;
    padding: 4px 15px;
  }

  .pagination-controls select {
    background: url(/wp-content/uploads/flecha.svg) no-repeat right 10px center;
  }

  .pagination-controls {
    justify-content: space-between;
  }

  .wompi-response-wrapper{
    margin: 50px 42px;
    padding: 25px;
  }
}

/* Estilos básicos del popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none; /* oculto por defecto */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Caja del contenido */
.popup-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}

.popup-content p {
  margin-bottom: 15px;
  color: var(--e-global-color-primary);
  font-family: var(--e-global-typography-fe9d035-font-family);
  font-size: var(--e-global-typography-fe9d035-font-size);
  font-weight: var(--e-global-typography-fe9d035-font-weight);
  line-height: var(--e-global-typography-fe9d035-line-height);
}

.popup-content button {
  background: var(--e-global-color-secondary);
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--e-global-typography-accent-font-family);
  font-size: var(--e-global-typography-accent-font-size);
  font-weight: var(--e-global-typography-accent-font-weight);
  line-height: var(--e-global-typography-accent-line-height);
}

.popup-content button:hover {
  background: var(--e-global-color-primary);
}

/* Animación */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}