body {
  background: linear-gradient(135deg, #ece8fa 0%, #f8f7fc 100%);
  background-image: url('/solucx/img/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
}

.login-container {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(119,88,217,0.14);
  padding: 2.5rem 2.2rem 1.2rem 2.2rem;
  width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-logo {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  background: #ede7fa;
  box-shadow: 0 2px 12px 0 rgba(119,88,217,0.10);
  padding: 7px;
  transition: box-shadow 0.2s;
}

h2 {
  font-weight: 700;
  color: #7758d9;
  margin-bottom: 1.7rem;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-form label {
  font-weight: 600;
  color: #7758d9;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  margin-top: 0.2rem;
}

.login-form input {
  padding: 0.7rem 1rem;
  border: 1.5px solid #ded3f7;
  border-radius: 0.9rem;
  outline: none;
  font-size: 1rem;
  background: #f7f5fb;
  transition: border 0.2s;
}
.login-form input:focus {
  border: 1.5px solid #7758d9;
}

.login-form button {
  background: linear-gradient(90deg, #7758d9 70%, #a193db 100%);
  color: #fff;
  border: none;
  border-radius: 1rem;
  padding: 0.85rem 0;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.7rem;
  box-shadow: 0 2px 16px 0 rgba(119,88,217,0.13);
  transition: background 0.2s, transform 0.1s;
}
.login-form button:hover {
  background: linear-gradient(90deg, #563da7 60%, #7d67d1 100%);
  transform: translateY(-2px) scale(1.04);
}

footer {
  margin-top: 2rem;
  font-size: 0.93rem;
  color: #a293bb;
  letter-spacing: 0.02em;
  text-align: center;
}

/* ===== Modal Veros Atende ===== */
.va-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 9, 32, 0.45);
  backdrop-filter: blur(2px);
  display: none; /* controlado via JS */
  align-items: center; justify-content: center;
  z-index: 1000;
}
.va-modal-backdrop.show { display: flex; }

.va-modal-card {
  width: 100%; max-width: 440px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 24px 60px rgba(16, 6, 43, 0.25);
  padding: 22px 22px 18px; position: relative;
  animation: vaPop .16s ease-out;
}
@keyframes vaPop { from { transform: translateY(6px) scale(.98); opacity:0; } to { transform: none; opacity:1; } }

.va-modal-close {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 10px;
  border: none; background: transparent; color: #7b6bb8;
  font-size: 20px; line-height: 1; cursor: pointer;
}
.va-modal-close:hover { background: #f1edfb; }

.va-modal-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.va-modal-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: #ede7fa; color: #7758d9; /* roxo do app */
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 10px rgba(119,88,217,0.15);
}
.va-modal-header h3 { margin: 0; font-size: 1.2rem; color: #2a2352; font-weight: 800; }
.va-modal-sub { margin: 3px 0 0; color: #6a5e9a; font-size: .95rem; }

.va-otp-wrap { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 10px; }
.va-otp {
  width: 48px; height: 54px; text-align: center;
  font-size: 1.4rem; font-weight: 700; color: #2a2352;
  border: 2px solid #ded3f7; border-radius: 12px; outline: none;
  background: #f7f5fb; transition: border-color .15s, box-shadow .15s;
}
.va-otp:focus { border-color: #7758d9; box-shadow: 0 0 0 4px rgba(119,88,217,0.12); }
.va-otp-sep { color: #c1b7e9; font-weight: 700; }

.va-otp-error {
  text-align: center; color: #b94a4a; font-weight: 600;
  background: #fdecec; border: 1px solid #f7c9c9;
  border-radius: 10px; padding: 8px 10px; margin: 4px 0 2px;
}

.va-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }

.va-btn {
  appearance: none; border: 0; cursor: pointer;
  padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 0.95rem;
}
.va-btn.primary { background: #7758d9; color: #fff; box-shadow: 0 6px 18px rgba(119,88,217,.25); }
.va-btn.primary:hover { filter: brightness(1.03); }
.va-btn.ghost { background: #f1edfb; color: #5f4ab9; }
.va-btn.ghost:hover { filter: brightness(0.98); }

.va-resend { text-align: center; margin-top: 8px; color: #6a5e9a; }
.va-resend .as-link { background: none; border: none; color: #7758d9; font-weight: 700; cursor: pointer; }
.va-resend .muted { color: #a79cd8; margin-left: 6px; font-size: .9rem; }

/* Timer */
.va-timer {
  margin-top: 6px;
  font-size: .92rem;
  color: #6a5e9a;
}
.va-timer.expired {
  color: #b94a4a;
  font-weight: 700;
}

