/* === ESTILO GERAL === */
body {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  background-color: #f5f7fa;
  color: #333;
}


/* === SIDEBAR === */
.main-sidebar {
  background: #1e272e;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
}

.sidebar a {
  color: #d2dae2 !important;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.sidebar a:hover {
  background: rgba(0, 123, 255, 0.15);
  color: #fff !important;
  border-radius: 8px;
}

.sidebar .nav-item .nav-icon {
  color: #19a59c;
}

.sidebar .nav-item.active > a {
  background: linear-gradient(90deg, #007bff 0%, #19a59c 100%);
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
}

/* === CONTEÚDO === */
.content-wrapper {
  background-color: #f5f7fa;
  border-radius: 12px;
  box-shadow: inset 0 0 0 rgba(0,0,0,0);
}

/* === CARDS === */
.card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.card-header {
  background: linear-gradient(135deg, #007bff, #19a59c);
  color: white;
  font-weight: 600;
  border-bottom: none;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

/* === BOTÕES === */
.btn {
  border-radius: 10px;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, #007bff, #19a59c);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0069d9, #009970);
}

.btn-danger {
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  border: none;
}

.btn-success {
  background: linear-gradient(135deg, #19a59c, #2ecc71);
  border: none;
}

/* === TABELAS === */
.table {
  border-radius: 10px;
  overflow: hidden;
 
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.table th {

  color: #fff;
  font-weight: 600;
  border: none;
}

.table td {
  vertical-align: middle;
}

/* === LISTAS / ITENS === */
.list-group-item {
  border: none;
  border-radius: 10px;
  margin-bottom: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.list-group-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* === MODAL === */
.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.modal-header {
  background: linear-gradient(135deg, #007bff, );
  color: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.modal-footer {
  border-top: none;
}


/* === TÍTULOS E TIPOGRAFIA === */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  color: #222;
}

/* === ALERTAS SWEETALERT === */
.swal2-popup {
  border-radius: 14px !important;
  box-shadow: 0 4px 25px rgba(0,0,0,0.2);
}

.swal2-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.swal2-confirm {
  border-radius: 10px !important;
  background: linear-gradient(135deg, #007bff, #00b894) !important;
  border: none !important;
}


