.elementor-1287 .elementor-element.elementor-element-715f9d3{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1287 .elementor-element.elementor-element-18356b4 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:24px 0px 0px 0px;}.elementor-1287 .elementor-element.elementor-element-18356b4{text-align:center;color:#008D9B;font-family:"Montserrat", Sans-serif;font-size:24px;font-weight:600;text-transform:uppercase;}.elementor-1287 .elementor-element.elementor-element-c9e6d42{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:17px;--padding-bottom:31px;--padding-left:0px;--padding-right:0px;}.elementor-1287 .elementor-element.elementor-element-c9e6d42.e-con{--align-self:center;}body.elementor-page-1287:not(.elementor-motion-effects-element-type-background), body.elementor-page-1287 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FBFBFB;}@media(min-width:768px){.elementor-1287 .elementor-element.elementor-element-c9e6d42{--content-width:933px;}}/* Start custom CSS for shortcode, class: .elementor-element-539d7d0 *//* Tabla estilizada del historial de facturas */
table.historial-facturas {
  width: 100%;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  font-size: 0.95rem;
  animation: fadeInTable 0.6s ease-in-out both;
}

.historial-facturas thead {
  background-color: #00c4cc;
  color: #fff;
}

.historial-facturas th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.historial-facturas td {
  padding: 1rem;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease;
}

.historial-facturas tr:hover td {
  background-color: #e6f7f8;
}

.historial-facturas a {
  color: #00a3aa;
  font-weight: 500;
  text-decoration: underline;
}

/* Responsive para móviles */
@media screen and (max-width: 768px) {
  table.historial-facturas, thead, tbody, th, td, tr {
    display: block;
  }

  .historial-facturas thead {
    display: none;
  }

  .historial-facturas tr {
    margin-bottom: 1.5em;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    padding: 1em;
  }

  .historial-facturas td {
    display: flex;
    justify-content: space-between;
    padding: 0.6em 0;
    border-bottom: none;
  }

  .historial-facturas td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #555;
    margin-right: 1em;
  }
}

/* Animación */
@keyframes fadeInTable {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-descargar-factura {
  background-color: #00c4cc;
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn-descargar-factura:hover {
  background-color: #0093a0;
}/* End custom CSS */