/* ===========================
   MODAL VISION DAY (vsd-)
=========================== */

.vsd-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 12, 20, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

/* Estado ativo (quando aberta) */
.vsd-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

/* Fundo clicável */
.vsd-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

/* Caixa de diálogo */
.vsd-modal__dialog {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: clamp(32px, 5vw, 56px);
  width: min(90%, 480px);
  color: #F7FAFC;
  z-index: 10;
  box-shadow: 0 18px 48px rgba(0,0,0,0.45);
  transform: translateY(40px);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}

/* Animação de entrada */
.vsd-modal[aria-hidden="false"] .vsd-modal__dialog {
  transform: translateY(0);
  opacity: 1;
}

/* Botão de fechar */
.vsd-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 22px;
  color: #C7D0D9;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .25s ease, transform .25s ease;
}
.vsd-modal__close:hover {
  color: #A7C7FF;
  transform: scale(1.1);
}

/* Cabeçalho */
.vsd-modal__header {
  text-align: center;
  margin-bottom: 28px;
}
.vsd-modal__title {
  font-weight: 800;
  font-size: clamp(22px, 3vw, 28px);
  margin: 8px 0;
  color: #F7FAFC;
}
.vsd-modal__subtitle {
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.6;
}

/* Formulário */
.vsd-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.vsd-form__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.vsd-form__row label {
  font-weight: 600;
  font-size: 15px;
  color: #EAF5FF;
}
.vsd-form__row input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 15px;
  transition: border-color .25s ease, background .25s ease;
}
.vsd-form__row input::placeholder {
  color: rgba(255,255,255,0.45);
}
.vsd-form__row input:focus {
  outline: none;
  border-color: #63A5FF;
  background: rgba(255,255,255,0.08);
}

/* Erros (caso use validação) */
.vsd-form__error {
  color: #FF7373;
  font-size: 13px;
  min-height: 16px;
}

/* Ações */
.vsd-form__actions {
  text-align: center;
  margin-top: 12px;
}
.vsd-form__actions .btn {
  display: inline-block;
  width: 100%;
  padding: 16px 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--btn-grad-start), var(--btn-grad-end));
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-transform: lowercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
  box-shadow: 0 8px 24px rgba(14,92,180,0.28);
}
.vsd-form__actions .btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
.vsd-form__note {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* Responsivo */
@media (max-width: 480px) {
  .vsd-modal__dialog {
    padding: 28px 20px;
    width: 90%;
  }
  .vsd-modal__title {
    font-size: 22px;
  }
  .vsd-modal__subtitle {
    font-size: 15px;
  }
}
