/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

/* PAGE */
body {
  background: linear-gradient(180deg, #f5f4fa, #eceaf6);
  color: #111;
}

/* WRAPPER */
.login-page {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* FORM SECTION */
.login-form {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

/* CARD */
.form-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 42px 38px;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(45, 10, 122, 0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeIn 0.6s ease forwards;
}

/* TITLES */
.form-card h2 {
  font-size: 28px;
  font-weight: 700;
}

.form-card span {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

/* INPUTS */
.form-card input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 14px;
  transition: border .2s ease, box-shadow .2s ease;
}

.form-card input:focus {
  outline: none;
  border-color: #2d0a7a;
  box-shadow: 0 0 0 3px rgba(45, 10, 122, 0.12);
}

/* BUTTON */
.form-card button {
  margin-top: 10px;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #2d0a7a, #5c6cff);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.form-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(45, 10, 122, 0.35);
}

.form-card button:active {
  transform: translateY(0);
  box-shadow: none;
}

/* LINKS */
.form-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 13px;
}

.form-links span {
  color: #666;
}

.form-links a {
  color: #2d0a7a;
  text-decoration: none;
  font-weight: 600;
}

.form-links a:hover {
  text-decoration: underline;
}

/* ANIMATIONS BASE */
.fade-in {
  animation: pageFade 0.8s ease forwards;
}

.fade {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.slide-right {
  opacity: 0;
  animation: slideRight 0.8s ease forwards;
}

/* DELAYS */
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }
.delay-6 { animation-delay: .6s; }
.delay-7 { animation-delay: .7s; }
.delay-8 { animation-delay: .8s; }
.delay-9 { animation-delay: .9s; }
.delay-10 { animation-delay: 1s; }

/* KEYFRAMES */
@keyframes pageFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .form-card {
    padding: 36px 28px;
    border-radius: 18px;
  }

  .form-card h2 {
    font-size: 24px;
  }
}


/* Wrapper inteiro segue 100% */
.iti {
  width: 100%;
}

/* Campo igual aos outros */
#phoneInput {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid #ddd;
  padding-left: 60px;
  font-size: 14px;
}

/* Botão da bandeira */
.iti__flag-container {
  height: 48px;
  border-radius: 12px 0 0 12px;
  border: 1px solid #ddd;
  border-right: none;
}

/* Ajusta dropdown internamente */
.iti--separate-dial-code .iti__selected-flag {
  background: #fff;
  border-radius: 12px 0 0 12px;
  padding-left: 10px;
  padding-right: 10px;
}

/* Remove canto "quadrado" que o plugin coloca */
.iti--allow-dropdown input {
  border-left: none !important;
}

/* ===== DROPDOWN CONTAINER ===== */
.iti__country-list {
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  overflow: hidden;
  margin-top: 6px;
}

/* ===== ITENS ===== */
.iti__country {
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s ease;
}

/* hover suave */
.iti__country:hover {
  background: #f5f5ff;          /* levemente lilás */
}

/* ===== ITEM SELECIONADO ===== */
.iti__country.iti__highlight {
  background: linear-gradient(135deg,#2d0a7a,#4a1bbf);
  color: white;
}

/* corrige bandeira e texto no highlight */
.iti__highlight .iti__country-name,
.iti__highlight .iti__dial-code {
  color: #fff !important;
}

/* ===== LINHA DIVISÓRIA ===== */
.iti__divider {
  margin: 6px 0;
  border-color: rgba(0,0,0,0.08);
}

/* ===== ROLAGEM BONITA ===== */
.iti__country-list::-webkit-scrollbar {
  width: 7px;
}

.iti__country-list::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
}

/* ===== OVERLAY ===== */
.verify-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: pageFade .3s ease forwards;
}

/* ===== CARD ===== */
.verify-box {
  width: 100%;
  max-width: 400px;
  background: #fff;
  padding: 34px 28px;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(45, 10, 122, 0.18);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeUp .35s ease forwards;
}

/* ===== TITLE ===== */
.verify-box h3 {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}

/* ===== TEXT ===== */
.verify-box p {
  text-align: center;
  font-size: 13px;
  color: #666;
}

/* ===== INPUT ===== */
.verify-box input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 14px;
  text-align: center;
  letter-spacing: 2px;
  transition: border .2s ease, box-shadow .2s ease;
}

.verify-box input:focus {
  outline: none;
  border-color: #2d0a7a;
  box-shadow: 0 0 0 3px rgba(45, 10, 122, 0.12);
}

/* ===== BUTTONS ===== */
.verify-box button {
  padding: 14px;
  border-radius: 14px;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

/* Email Button */
#verifyEmailBtn {
  background: linear-gradient(135deg, #4a1bbf, #5c6cff);
  color: #fff;
}

/* SMS Button */
#verifySmsBtn {
  background: linear-gradient(135deg, #2d0a7a, #4a1bbf);
  color: #fff;
}

/* Confirm */
#confirmSmsCodeBtn {
  background: linear-gradient(135deg, #2d0a7a, #5c6cff);
  color: #fff;
}

/* Hover efeito padrão do site */
.verify-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(45, 10, 122, 0.35);
}

.verify-box button:active {
  transform: translateY(0);
  box-shadow: none;
}

.verify-option {
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #f7f6ff;
  color: #2d0a7a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  transition: all .2s ease;
}

/* Hover */
.verify-option:hover {
  background: linear-gradient(135deg, #2d0a7a, #5c6cff);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(45, 10, 122, 0.35);
}

/* Active */
.verify-option:active {
  transform: translateY(0);
  box-shadow: none;
}

.verify-modal{
  display:none;
}

.g-recaptcha {
  display: flex;
  justify-content: center;
}