body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  color: #333;
}
de
/*
.container {
  max-width: 600px;
  margin: 24px auto;
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  position: relative;
}
*/
.container {
  width: 80%;
  max-width: 600px;
  margin: 24px auto;
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  box-sizing: border-box;
}

h1 {
  text-align: center;
  color: #c62828;
  margin-bottom: 24px;
}

h2 {
  color: #c62828;
  font-size: 17px;
  border-bottom: 2px solid #c62828;
  padding-bottom: 6px;
  margin-top: 32px;
  margin-bottom: 20px;
  width: 100%;
}

.form-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 26px;
}

label {
  font-size: 15px;
  margin-bottom: 8px;
}

label .obrigatorio {
  color: #c62828;
  font-weight: bold;
}

input, select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
}

/* DEPENDENTES */
.dependente-item {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  align-items: flex-end;
  width: 100%;
}

.dependente-item input {
  flex: 1;
}

.dependente-item button {
  background: #c62828;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
}

.add-dep {
  margin-top: 14px;
  width: 100%;
  padding: 12px;
  border: 1.8px dashed #c62828;
  background: #fff;
  color: #c62828;
  border-radius: 6px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
}

/* BOTﾃグ PRINCIPAL */
button.submit {
  margin-top: 32px;
  width: 100%;
  padding: 14px;
  background: #c62828;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

/* TOAST */
#toast {
  visibility: hidden;
  min-width: 260px;
  background: #c62828;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 14px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 15px;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

#toast.show {
  visibility: visible;
  animation: fadein 0.4s, fadeout 0.6s 2.5s;
}

@keyframes fadein {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeout {
  from {opacity: 1;}
  to {opacity: 0;}
}

/* MODAL */
#modalOverlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}

#modalBox {
  background: #fff;
  width: 90%;
  max-width: 420px;
  margin: 120px auto;
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  position: relative;
}

#modalBox h3 {
  margin-top: 0;
  color: #c62828;
  margin-bottom: 14px;
  font-size: 18px;
  text-align: center;
}

#modalContent {
  background: white;
  padding: 15px;
  border-radius: 10px;
  max-width: 700px;  /* aumenta a largura máxima */
  width: 95%;        /* ocupa mais espaço na tela */
  font-size: 14px;   /* aumenta o texto dentro do modal */
  margin-bottom: 15px;
  white-space: pre-line;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* deixa mais chamativo */
  animation: fadeIn 0.3s ease-in-out;
}


.modalButtons {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.modalConfirm {
  background: #c62828;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.modalCancel {
  background: #e0e0e0;
  color: #333;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}
