
/* =========================
   SECTION CADASTRO (ISOLADO)
   ========================= */

.cs-section-cadastro {
  padding: 80px 0;
  background: linear-gradient(135deg, #f7f8fc, #eef1f7);
}

/* Container principal */
.cs-cadastro-container {
  position: relative;
  max-width: 900px;
  margin: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  min-height: 520px;
}

/* Forms */
.cs-form {
  padding: 40px;
}

.cs-form h1 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: 600;
  color: #222;
}

/* Inputs */
.cs-form input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.cs-form input:focus {
  outline: none;
  border-color: #5b6cff;
  box-shadow: 0 0 0 2px rgba(91,108,255,0.15);
}

/* Botão */
.cs-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5b6cff, #7b88ff);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cs-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(91,108,255,0.3);
}

/* Overlay */
.cs-cadastro-container .overlay-container {
  background: linear-gradient(135deg, #5b6cff, #7b88ff);
}

.cs-cadastro-container .overlay-panel h1 {
  color: #fff;
  font-size: 2rem;
}

.cs-cadastro-container .overlay-panel p {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
}

/* Botões ghost */
.cs-cadastro-container .ghost {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cs-cadastro-container .ghost:hover {
  background: #fff;
  color: #5b6cff;
}

/* Erro */
.cs-section-cadastro #error-message-prop,
.cs-section-cadastro #error-message-loc {
  margin-top: 8px;
  font-size: 0.9rem;
}

/* ===== MODAL OVERLAY ===== */
.cs-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ===== MODAL ===== */
.cs-modal {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}

.cs-modal h2 {
  margin-bottom: 10px;
  color: #2e7d32;
}

.cs-modal p {
  margin-bottom: 20px;
  color: #555;
}

/* ===== BOTÕES ===== */
.cs-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.cs-btn-outline {
  background: transparent;
  border: 2px solid #555;
  color: #555;
}

/* ===== ANIMAÇÃO ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* ===== Termos de uso ===== */
.cs-termos {
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: flex-start;
}

/* Bloco real checkbox + texto */
.cs-termos-inner {
    display: flex;
    align-items: flex-start;
    max-width: 100%;
}

/* Checkbox fixo */
.cs-termos-inner input[type="checkbox"] {
    width: 20px;
    min-width: 20px;
    height: 20px;

    margin-top: 4px;
    margin-right: 10px;

    flex: 0 0 20px;
}

/* Texto */
.cs-termos-inner label {
    font-size: 14px;
    line-height: 1.4;

    min-width: 0;
    white-space: normal;
}

/* ===============================
   >= 531px → centralizar conjunto
   =============================== */
@media (min-width: 531px) {
    .cs-termos {
        justify-content: center; /* 🔥 agora funciona */
    }
}








