/**
 * Foreto Tables - Default Styles
 */

.foreto-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
}

.foreto-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: none !important;
  font-size: 14px;
  line-height: 1.6;
}

.foreto-table th,
.foreto-table td {
  padding: 12px 15px !important;
  border: none !important;
  text-align: left;
}

.foreto-table th {
  background-color: #ffffff !important;
  font-weight: 600;
  color: #333;
}

.foreto-table tr {
  border-bottom: 1px solid #f9eeee !important;
}

.foreto-table tr:nth-child(even) {
  background-color: #ffffff !important;
}

.foreto-table tr:not(.foreto-table-header-row):hover {
  background-color: #00000008 !important;
}

.foreto-table tbody tr:hover > td,
.foreto-table tbody tr:hover > th {
  background-color: transparent !important;
}

.foreto-table tbody > tr:nth-child(odd) > td,
.foreto-table tbody > tr:nth-child(odd) > th {
  background-color: #ffffff !important;
}

.foreto-table-cell {
  vertical-align: middle;
  font-family: "Lato", Sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  text-transform: none;
  font-style: normal;
  text-decoration: none;
  line-height: 1.33em;
  letter-spacing: 0em;
  -webkit-text-stroke-color: #000;
  stroke: #000;
  text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.3);
  color: #090001f2;
}

.foreto-table-header-row .foreto-table-cell {
  font-weight: 600;
}

.foreto-table-link {
  color: #0073aa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.foreto-table-link:hover {
  color: #005177;
  text-decoration: underline;
}

.foreto-table-image-link {
  display: inline-block;
  text-decoration: none;
}

.foreto-table-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.foreto-table-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  text-decoration: none;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.foreto-table-download-button:hover {
  transform: scale(1.1);
}

.foreto-table-download-button svg {
  display: block;
  width: 32px;
  height: 32px;
}

.foreto-table-download-button svg path {
  transition: stroke 0.3s ease;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .foreto-table {
    font-size: 0.75rem !important;
  }

  .foreto-table th,
  .foreto-table td {
    padding: 0.5rem 0.625rem !important;
  }

  .foreto-table .foreto-table-cell {
    font-size: 0.875rem !important;
  }
}
