/* =====================================
   TABLES
===================================== */

.invest-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffff00;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
}

.invest-table th,
.invest-table td {
  border: 3px solid #000;
  padding: 8px 10px;
  text-align: left;
}

@media (max-width: 780px) {
  .invest-table,
  .invest-table thead,
  .invest-table tbody,
  .invest-table th,
  .invest-table td,
  .invest-table tr {
    display: block;
  }

  .invest-table thead {
    display: none;
  }

  .invest-table tr {
    margin-bottom: 12px;
    border: 4px solid #000;
    box-shadow: 6px 6px 0 #000;
    background: #ffff00;
    padding: 6px;
  }

  .invest-table td {
    border: 0;
    border-bottom: 2px dashed #000;
    padding: 8px 6px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .invest-table td:last-child {
    border-bottom: 0;
  }

  .invest-table td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #000;
    margin-right: 10px;
    flex: 0 0 auto;
  }
}

.invest-admin-list {
  margin-top: 18px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 6px;
}

.invest-admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffff00;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
}

.invest-admin-table th,
.invest-admin-table td {
  border: 3px solid #000;
  padding: 10px 12px;
  text-align: left;
}

.invest-admin-table th {
  background: #ff00ff;
  color: #fff;
  font-weight: bold;
  position: sticky;
  top: 0;
}

.invest-admin-table tr:nth-child(even) {
  background: #ffff00;
}

.invest-admin-table tr:nth-child(odd) {
  background: #ffffff;
}
