/* Base global - Projeto APAPESC */

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: #25303f; /* Cinza escuro */
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: #5b697e;
}

a {
    color: #2563eb; /* Azul padrão */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    font-family: inherit;
    cursor: pointer;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Responsividade básica */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
}
.modal {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}
.copy-wrapper {
  display: flex;
  align-items: center;
  gap: 1px;

}

.copy-btn {
  background: none;
  border: none;
  padding: 2px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: color 0.2s ease;
}

.copy-btn:hover {
  color: #0077cc;
}

.copy-btn .material-icons {
  font-size: 16px;
  vertical-align: middle;
}
.status-ativo {
    color: green;
    font-weight: bold;
}
.status-desativado {
    color: red;
    font-weight: bold;
}
.status-associado {
    font-weight: bold;
    color: #3a3a3a;
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 5px;
    display: inline-block;
    text-transform: capitalize;
    font-size: 0.7rem;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  font-size: 0.95rem;
}

.pagination .step-links a,
.pagination .step-links span {
  margin: 0 6px;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #374151;
  background-color: #f1f5f9;
  transition: background-color 0.2s, color 0.2s;
}

.pagination .step-links a:hover {
  background-color: #cbd5e1;
  color: #1f2937;
}

.pagination .current {
  font-weight: 600;
  background-color: #dbeafe;
  color: #1e3a8a;
}
