* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #f5f5f5 0%, #f0f0f0 100%);
  min-height: 100vh;
  padding: 20px;
  padding-top: 80px;
  color: #333;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(217, 30, 99, 0.1);
}

/* TOP HEADER */
.top-header {
  background: #06055b;
  width: 100%;
  padding: 8px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  z-index: 1050;
  border-bottom: 2px solid #d91e63;
}

.header-logo {
  height: 42px;
  width: auto;
  max-height: 32px;
  filter: drop-shadow(0 2px 4px rgba(217, 30, 99, 0.3));
}

main {
  padding: 30px;
}

/* HEADER */
.header {
  background: linear-gradient(135deg, #0052cc 0%, #0066ff 100%);
  color: white;
  padding: 40px 30px;
  text-align: center;
  margin: -30px -30px 30px -30px;
}

.header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.header-subtitle {
  font-size: 1.1em;
  opacity: 0.9;
}

/* STATS SECTION */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card h3 {
  font-size: 0.9em;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 10px;
}

.stat-number {
  font-size: 2em;
  font-weight: bold;
  margin: 0;
}

/* CLIENTES SECTION */
.clientes-section h2 {
  margin-bottom: 20px;
  color: #0052cc;
  font-size: 1.8em;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.cliente-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cliente-card:hover {
  border-color: #0052cc;
  box-shadow: 0 8px 16px rgba(0, 82, 204, 0.15);
  transform: translateY(-2px);
}

.cliente-card h3 {
  color: #0052cc;
  margin-bottom: 12px;
  font-size: 1.2em;
}

.cliente-info {
  font-size: 0.95em;
  margin: 8px 0;
  color: #666;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cliente-info strong {
  color: #333;
}

.cliente-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 600;
  margin-top: 10px;
}

.badge-ativo {
  background: #d4edda;
  color: #155724;
}

.badge-inativo {
  background: #f8d7da;
  color: #721c24;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #999;
}

/* SEARCH SECTION */
.search-section {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  align-items: center;
}

.search-input {
  flex: 1;
  min-width: 250px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  transition: all 0.3s ease;
  background: #fafafa;
}

.search-input:focus {
  outline: none;
  border-color: #0052cc;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

/* BUTTONS */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #0052cc;
  color: white;
}

.btn-primary:hover {
  background: #003d99;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

.btn-secondary {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background: #e8e8e8;
}

.btn-danger {
  background: #dc3545;
  color: white;
}

.btn-danger:hover {
  background: #c82333;
}

.btn-edit {
  padding: 8px 12px;
  font-size: 0.9em;
  background: #0052cc;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-edit:hover {
  background: #003d99;
}

.btn-delete {
  padding: 8px 12px;
  font-size: 0.9em;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 8px;
}

.btn-delete:hover {
  background: #c82333;
}

/* BUTTONS SECTION - ATIVO/INATIVO */
.buttons-section {
  text-align: center;
  padding: 50px 30px 30px;
  background: linear-gradient(135deg, rgba(6, 5, 91, 0.02) 0%, rgba(217, 30, 99, 0.02) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-title {
  font-size: 1.8em;
  color: #06055b;
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.buttons-container {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.btn-ativo {
  background: linear-gradient(135deg, #06055b 0%, #1a1a7f 100%);
  color: white !important;
  padding: 45px 70px !important;
  font-size: 1.2em !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(6, 5, 91, 0.25);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn-ativo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.35) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.btn-ativo:hover {
  background: linear-gradient(135deg, #0a0a3f 0%, #2a2a9f 100%) !important;
  box-shadow: 
    0 0 15px rgba(76, 175, 80, 0.3),
    0 15px 35px rgba(76, 175, 80, 0.25),
    inset 0 0 15px rgba(76, 175, 80, 0.1) !important;
  transform: translateY(-6px) scale(1.05);
}

.btn-ativo:hover::before {
  opacity: 1;
}

.btn-ativo.active {
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.4), 0 20px 50px rgba(76, 175, 80, 0.25);
  transform: scale(1.08);
}

.btn-inativo {
  background: linear-gradient(135deg, #06055b 0%, #1a1a7f 100%);
  color: white !important;
  padding: 45px 70px !important;
  font-size: 1.2em !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(6, 5, 91, 0.25);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn-inativo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(217, 30, 99, 0.6) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.btn-inativo:hover {
  background: linear-gradient(135deg, #0a0a3f 0%, #2a2a9f 100%) !important;
  box-shadow: 
    0 0 20px rgba(217, 30, 99, 0.5),
    0 20px 50px rgba(217, 30, 99, 0.4),
    inset 0 0 20px rgba(217, 30, 99, 0.2) !important;
  transform: translateY(-6px) scale(1.05);
}

.btn-inativo:hover::before {
  opacity: 1;
}

.btn-inativo.active {
  box-shadow: 0 0 30px rgba(217, 30, 99, 0.6), 0 20px 50px rgba(217, 30, 99, 0.5);
  transform: scale(1.08);
}

.btn-label {
  display: block;
  letter-spacing: 1.5px;
}

.btn-adicionar-campanha {
  display: block;
  margin: 50px auto 0;
  padding: 14px 35px !important;
  background: linear-gradient(135deg, #d91e63 0%, #e91e63 100%) !important;
  color: white !important;
  font-size: 1.05em !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: 'Space Grotesk', sans-serif !important;
  box-shadow: 0 8px 20px rgba(217, 30, 99, 0.3);
  position: relative;
  overflow: visible;
}

.btn-adicionar-campanha::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  transition: width 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.btn-adicionar-campanha:hover {
  background: linear-gradient(135deg, #c2185b 0%, #d91e63 100%) !important;
  box-shadow: 
    0 0 25px rgba(217, 30, 99, 0.6),
    0 15px 40px rgba(217, 30, 99, 0.4) !important;
  transform: translateY(-5px) scale(1.08);
}

.btn-adicionar-campanha:hover::after {
  width: 350px;
  height: 350px;
}

.btn-adicionar-campanha:active {
  transform: translateY(-2px) scale(1.08);
}

/* TABLE */
.table-section {
  overflow-x: auto;
  padding: 40px;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.table-header h2 {
  font-size: 1.9em;
  color: #06055b;
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.table-header .search-input {
  flex: 1;
  min-width: 250px;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.table-header .search-input:focus {
  outline: none;
  border-color: #0052cc;
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
}

.table thead {
  background: linear-gradient(90deg, #06055b 0%, #1a1a7f 100%);
  border: none;
}

.table th {
  padding: 18px 20px;
  text-align: left;
  font-weight: 700;
  color: white;
  font-size: 0.95em;
  letter-spacing: 0.3px;
}

.table td {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95em;
  color: #555;
}

.table tbody tr {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  background: white;
  transform: none;
  letter-spacing: normal;
  line-height: 1.5;
}

.table tbody tr:hover {
  background: linear-gradient(90deg, rgba(217, 30, 99, 0.12) 0%, rgba(6, 5, 91, 0.12) 100%);
  box-shadow: 
    0 0 0 1px rgba(217, 30, 99, 0.2),
    0 8px 24px rgba(217, 30, 99, 0.2),
    0 0 20px rgba(217, 30, 99, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.8;
}

.table tbody tr:hover td {
  color: #06055b;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(217, 30, 99, 0.1);
}

.table-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.table-actions-small {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-view {
  padding: 10px 16px;
  font-size: 0.9em;
  background: linear-gradient(135deg, #06055b 0%, #1a1a7f 100%);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(6, 5, 91, 0.2);
}

.btn-view:hover {
  background: linear-gradient(135deg, #0a0a3f 0%, #2a2a9f 100%);
  box-shadow: 0 6px 16px rgba(217, 30, 99, 0.3);
  transform: translateY(-2px);
}

.btn-edit-small {
  padding: 8px 14px;
  font-size: 0.85em;
  background: linear-gradient(135deg, #06055b 0%, #1a1a7f 100%);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(6, 5, 91, 0.15);
}

.btn-edit-small:hover {
  background: linear-gradient(135deg, #0a0a3f 0%, #2a2a9f 100%);
  box-shadow: 0 4px 10px rgba(217, 30, 99, 0.25);
  transform: translateY(-1px);
}

.btn-delete-small {
  padding: 8px 14px;
  font-size: 0.85em;
  background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(255, 71, 87, 0.15);
}

.btn-delete-small:hover {
  background: linear-gradient(135deg, #e63946 0%, #ff5a68 100%);
  box-shadow: 0 4px 10px rgba(255, 71, 87, 0.25);
  transform: translateY(-1px);
}

.btn-status-small {
  padding: 6px 10px;
  font-size: 0.8em;
  background: #ffc107;
  color: black;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-status-small:hover {
  background: #e0a800;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  overflow: hidden;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal.active .modal-content {
  animation: slideInUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal.closing {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.modal.closing .modal-content {
  animation: slideOutDown 0.2s cubic-bezier(0.36, 0, 0.66, -0.56) forwards !important;
}

.modal-content {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  width: 95%;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content-large {
  max-width: 1200px;
}

.campanhas-container {
  margin-top: 30px;
  overflow-x: auto;
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOutDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(150px);
    opacity: 0;
  }
}

/* MODAL FORM - NOVA CAMPANHA */
.modal-content-form {
  max-width: 700px;
}

.form-nova-campanha {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row .form-group.full-width {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: #333;
  font-size: 0.95em;
}

.form-group input,
.form-group select {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95em;
  font-family: 'Space Grotesk', sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #06055b;
  box-shadow: 0 0 0 3px rgba(6, 5, 91, 0.1);
}

.form-group select {
  background: white;
  cursor: pointer;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
}

.btn-submit {
  padding: 12px 24px;
  background: linear-gradient(135deg, #d91e63 0%, #e91e63 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Space Grotesk', sans-serif;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #c2185b 0%, #d91e63 100%);
  box-shadow: 0 4px 12px rgba(217, 30, 99, 0.3);
  transform: translateY(-2px);
}

.btn-cancel {
  padding: 12px 24px;
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Space Grotesk', sans-serif;
}

.btn-cancel:hover {
  background: #e8e8e8;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.modal-confirmacao {
  max-width: 400px;
  text-align: center;
}

.modal-confirmacao p {
  font-size: 1.1em;
  margin: 20px 0 30px;
  color: #666;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  color: #000;
}

/* FORM */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 0.95em;
}

.form-group input,
.form-group select {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #0052cc;
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 30px;
}

/* LOADING SPINNER */
.spinner {
  text-align: center;
  padding: 50px;
  font-size: 1.2em;
  color: #0052cc;
  display: none;
}

.spinner::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #0052cc;
  border-radius: 50%;
  margin-left: 10px;
  vertical-align: middle;
}

/* ERROR MESSAGE */
.error-message {
  display: none;
  background: #fff3cd;
  color: #856404;
  padding: 16px;
  border-radius: 6px;
  border-left: 4px solid #ffc107;
  margin-bottom: 20px;
}

.error-message.active {
  display: block;
}

/* STATUS BADGE */
.status {
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85em;
  display: inline-block;
}

.status.ativo,
.status.ativa {
  background: #d4edda;
  color: #155724;
}

.status.inativo,
.status.inativa {
  background: #f8d7da;
  color: #721c24;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  main {
    padding: 15px;
  }

  .search-section {
    flex-direction: column;
  }

  .search-input {
    min-width: unset;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .table {
    font-size: 0.9em;
  }

  .table th,
  .table td {
    padding: 10px;
  }

  .modal-content {
    width: 95%;
    max-height: 95vh;
    padding: 20px;
  }
}

/* MODAL H2 */
.modal-content h2 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.8em;
}

/* BOTÕES DE AÇÃO NA TABELA */
.table-actions-small {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-edit-small,
.btn-delete-small {
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85em;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: linear-gradient(135deg, #06055b 0%, #1a1a7f 100%);
  color: white;
  border: 1px solid #06055b;
}

.btn-edit-small {
  color: #d91e63;
  font-weight: 600;
}

.btn-edit-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 30, 99, 0.3);
}

.btn-delete-small {
  color: #ff6b6b;
  font-weight: 600;
}

.btn-delete-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

@media (max-width: 768px) {
  .table-actions-small {
    flex-direction: column;
    gap: 4px;
  }

  .btn-edit-small,
  .btn-delete-small {
    width: 100%;
    font-size: 0.75em;
    padding: 6px 8px;
  }
}

/* ========================================
   MODAL DE LOADING
   ======================================== */

.modal-loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 5, 91, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-loading.active {
  display: flex;
}

.loading-container {
  background: white;
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  min-width: 320px;
  position: relative;
}

/* Estado de Loading */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.loading-state.hidden {
  display: none;
  opacity: 0;
}

#loadingTitle {
  color: #d91e63;
  font-size: 1.5em;
  margin: 10px 0 0 0;
  font-weight: 600;
}

#loadingSubtitle {
  color: #666;
  font-size: 1em;
  margin: 0;
}

/* Estado de Sucesso */
.success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  animation: fadeInSuccess 0.5s ease forwards;
}

.success-state.active {
  display: flex;
}

@keyframes fadeInSuccess {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #06055b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #d91e63;
  font-weight: bold;
  animation: checkScaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkScaleIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

#successTitle {
  color: #06055b;
  font-size: 1.8em;
  margin: 0;
  font-weight: 600;
}

/* ANIMAÇÕES DE TABELA */
@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.table-section.animate {
  animation: fadeInSlideUp 0.5s ease-out forwards;
}

.table-section.animate .table-header {
  opacity: 0;
  animation: fadeIn 0.4s ease-out forwards;
}

.table-section.animate table {
  opacity: 0;
  animation: fadeInSlideUp 0.6s ease-out 0.1s forwards;
}

.table-section.animate tbody tr {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInSlideUp 0.5s ease-out forwards;
}

.table-section.animate tbody tr:nth-child(1) {
  animation-delay: 0.15s;
}

.table-section.animate tbody tr:nth-child(2) {
  animation-delay: 0.25s;
}

.table-section.animate tbody tr:nth-child(3) {
  animation-delay: 0.35s;
}

.table-section.animate tbody tr:nth-child(4) {
  animation-delay: 0.45s;
}

.table-section.animate tbody tr:nth-child(5) {
  animation-delay: 0.55s;
}

.table-section.animate tbody tr:nth-child(n+6) {
  animation-delay: 0.65s;
}

/* ANIMAÇÕES PARA TABELA DE CAMPANHAS */
#tabelaCampanhas.animate {
  animation: fadeInSlideUp 0.6s ease-out forwards;
}

#tabelaCampanhas.animate tbody tr {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInSlideUp 0.5s ease-out forwards;
}

#tabelaCampanhas.animate tbody tr:nth-child(1) {
  animation-delay: 0.15s;
}

#tabelaCampanhas.animate tbody tr:nth-child(2) {
  animation-delay: 0.25s;
}

#tabelaCampanhas.animate tbody tr:nth-child(3) {
  animation-delay: 0.35s;
}

#tabelaCampanhas.animate tbody tr:nth-child(4) {
  animation-delay: 0.45s;
}

#tabelaCampanhas.animate tbody tr:nth-child(5) {
  animation-delay: 0.55s;
}

#tabelaCampanhas.animate tbody tr:nth-child(n+6) {
  animation-delay: 0.65s;
}

/* ANIMAÇÕES PARA MODAIS */
@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal.active .modal-content {
  animation: modalSlideUp 0.4s ease-out forwards;
}

.modal-content-form.animate {
  animation: modalSlideUp 0.4s ease-out forwards;
}