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

.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.loader {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: pulse 1.5s infinite;
}

.loader span {
  font-size: 28px;
}

.loader p {
  margin-top: 10px;
}

@keyframes pulse {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}


h2 {
  margin: 0;
}

.buttonIaAtiva {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px
}

.buttonIaAtiva label {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 11px;
}

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

.campo {
  display: flex;
  flex-direction: column;
}

.campo label {
  font-weight: bold;
  margin-bottom: 4px;
}

.campo input,
.campo textarea {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 18px;
  resize: vertical;
}

.col-span-2 {
  grid-column: span 2;
}

.textarea-grande {
  height: 280px;
  font-size: 18px !important;
}

.buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}

.buttonAtualizarAgentes {
    background-color: #00a7f8;
    color: #fff;
    border: none;
    padding: 5px;
    width: 125px;
    border-radius: 3px;
}

.buttonTempoDeCaptura {
    background-color: #00a7f8;
    color: #fff;
    border: none;
    padding: 5px;
    width: 185px;
    border-radius: 3px;
}

.alert {
    z-index: 1065 !important;
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 500px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.alert-sucesso {
  background-color: #98db7d;
  cursor: pointer;
  border: 1px solid #c3e6cb;
}

.alert-erro {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.principalButton {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  margin-top: 4px;
}
