/* Fonte Montserrat para títulos (thead) e Lato para corpo (tbody) */
@import url('https://fonts.googleapis.com/css2?family=Lato&family=Montserrat:wght@500&display=swap');

table.downloads-table {
  width: 100%;
  border-collapse: separate;
  
  font-family: 'Lato', sans-serif;
  color: #444444;
  background: #fff;
  box-shadow: 0 4px 12px rgb(188 255 55 / 0.15);
  border-radius: 10px;
  overflow: hidden;
}

table.downloads-table thead {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #444444;
  font-size: 1.1rem;
  border-bottom: 2px solid #9C9C9C;
}

table.downloads-table thead tr th {
  padding: 16px 20px;
  text-align: left;
  background-color: #f9f9f9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

table.downloads-table tbody tr {
  background-color: #fff;
  box-shadow: 0 2px 8px rgb(156 156 156 / 0.1);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

table.downloads-table tbody tr:hover {
  background-color: #bcff37; /* cor destaque ao passar o mouse */
  color: #444444;
}

table.downloads-table tbody tr td {
  padding: 18px 20px;
  vertical-align: middle;
  border-bottom: none;
  font-size: 1.4rem;
}

table.downloads-table tbody tr td:first-child {
  width: 120px;
}

table.downloads-table tbody tr td a {
  color: #444444;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease;
}

table.downloads-table tbody tr td a:hover {
  border-color: #bcff37;
  color: #444444;
}

/* Imagem na célula da tabela */
table.downloads-table tbody tr td img {
  max-width: 100px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgb(156 156 156 / 0.15);
}

/* Responsivo */
@media (max-width: 768px) {
  table.downloads-table thead {
    display: none;
  }
  table.downloads-table, table.downloads-table tbody, table.downloads-table tr, table.downloads-table td {
    display: block;
    width: 100%;
  }
  table.downloads-table tr {
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgb(188 255 55 / 0.1);
    border-radius: 10px;
    padding: 12px;
  }
  table.downloads-table td {
    padding-left: 50%;
    position: relative;
    text-align: left;
  }
  table.downloads-table td:first-child {
    width: auto;
    padding-left: 0;
  }
  table.downloads-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 20px;
    top: 18px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #9C9C9C;
    text-transform: uppercase;
  }
}

td[data-label="Arquivo"] a {
    background: #9d4edd;
    padding: 11px 30px;
    border-radius: 10px;
    color: #fff!important;
}
