/* Grids responsivos */
@media (max-width: 768px) {
  .grid-2-cols,
  .grid-3-cols,
  .grid-4-cols,
  .grid-5-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dashboard-section,
  .dashboard-header,
  .form-container,
  .form-container-edit-associado,
  .filtro-container,
  .section-content,
  .header-widgets {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .widget,
  .card {
    width: 100%;
  }
}

/* Tabelas responsivas */
@media (max-width: 768px) {
  .table-list {
    display: block;
    width: 100%;
    overflow-x: auto;
  }
}
@media (max-width: 540px) {
  .table-list thead {
    display: none;
  }

  .table-list tbody,
  .table-list tr,
  .table-list td {
    display: block;
    width: 100%;
  }

  .table-list tr {
    margin-bottom: 12px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  }

  .table-list td {
    padding: 4px 8px;
    border-bottom: 1px solid #f1f1f1;
    text-align: left;
    word-break: break-word;
    font-size: 0.87rem;
    line-height: 1.3;
  }

  .table-list td:last-child {
    border-bottom: none;
  }

  .table-list td:before {
    content: attr(data-label);
    font-weight: 500;
    color: #999;
    display: block;
    margin-bottom: 3px;
    font-size: 0.78rem;
  }

  .copy-wrapper {
    flex-wrap: wrap;
  }

  .copy-wrapper button {
    font-size: 0.70rem;
    padding: 3px;
  }

  .icon-view,
  .icon-edit,
  .icon-delete {
    font-size: 1.1rem !important;
  }

  .dashboard-link {
    display: block;
    margin-bottom: 10px;
    font-size: 0.80rem;
    padding: 4px 0;
    border-radius: 4px;
    transition: background-color 0.2s;
  }

  .dashboard-link:hover {
    background-color: #f3f4f6;
  }

  .form-group input,
  .form-group select {
    font-size: 0.85rem;
  }

  h1, h2, h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .btn, .btn-primary, .btn-secondary {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  .lista-container,
  .form-container,
  .dashboard-section {
    background-color: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.04);
  }
}


/* Links e botões em mobile */
@media (max-width: 640px) {
  .dashboard-link {
    display: block;
    margin-bottom: 12px;
    font-size: 1rem;
  }

  .widget,
  .card {
    width: 100%;
  }
}
.status-ativo {
    color: green;
    font-weight: bold;
}
.status-desativado {
    color: red;
    font-weight: bold;
}
.mensagem-suave {
  font-size: 0.95rem;
  color: #555;
  background-color: #f9fafb;
  padding: 12px 16px;
  border-left: 4px solid #60a5fa;
  border-radius: 8px;
  margin-bottom: 20px;
}

.descricao-secundaria {
  font-size: 0.87rem;
  color: #666;
  margin-bottom: 10px;
}