body {
  margin: 0;
  font-family: Arial;
  background: linear-gradient(135deg, #020617, #07111f);
  color: white;
}

.login-page {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-card {
  width: 360px;
  padding: 20px 40px 40px;
  border-radius: 20px;
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  text-align: center;
}

.logo {
  width: 360px;
  margin-bottom: 10px;
  margin-top: -10px;
}

h2 {
  margin-top: 5px;
  margin-bottom: 5px;
}

p {
  color: #cbd5e1;
  margin-bottom: 20px;
}

label {
  display: block;
  text-align: left;
  margin: 10px 0 5px;
  font-size: 14px;
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: white;
}

/* TELEFONE INTERNACIONAL PREMIUM */

.iti {
  width: 100%;
}

.iti input {
  width: 100%;
  padding-left: 95px !important;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 15px;
}

.iti__selected-flag {
  background: rgba(255,255,255,0.08);
  border-radius: 10px 0 0 10px;
  padding: 0 12px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.iti__flag {
  transform: scale(1.2);
}

.iti__arrow {
  border-top-color: #ffffff;
}

.iti__country-list {
  background: #0f172a;
  color: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  padding: 6px 0;
  max-height: 240px;
}

.iti__country {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.iti__country-name {
  display: none;
}

.iti__dial-code {
  color: #e5e7eb;
  font-weight: 700;
  font-size: 14px;
}

.iti__country:hover {
  background: rgba(122, 223, 69, 0.15);
}

.iti__highlight {
  background: rgba(122, 223, 69, 0.25);
}

.iti__country-list::-webkit-scrollbar {
  width: 6px;
}

.iti__country-list::-webkit-scrollbar-thumb {
  background: rgba(122, 223, 69, 0.5);
  border-radius: 10px;
}

/* FIM TELEFONE INTERNACIONAL PREMIUM */

.phone-box {
  display: flex;
  gap: 8px;
}

.ddi-select {
  width: 120px;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #1f2937;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
}

.ddi-select option {
  background: #1f2937;
  color: #ffffff;
}

.phone-box input {
  flex: 1;
}

.password-box {
  display: flex;
}

.password-box input {
  flex: 1;
}

.password-box button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.login-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  background: linear-gradient(135deg, #7adf45, #f5f83c);
  color: #07111f;
  cursor: pointer;
}

.links {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.links a {
  color: #cbd5e1;
  text-decoration: none;
}

.login-error {
  margin: 14px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 70, 70, 0.15);
  border: 1px solid rgba(255, 70, 70, 0.4);
  color: #ffb4b4;
  font-size: 13px;
  text-align: left;
}

.login-success {
  margin: 14px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(70, 255, 120, 0.15);
  border: 1px solid rgba(70, 255, 120, 0.4);
  color: #baffd1;
  font-size: 13px;
  text-align: left;
}

.terms-button {
  display: block;
  margin: 28px auto 0;
  padding: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  opacity: 0.85;
}

.terms-button:hover {
  opacity: 1;
}

.terms-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}

.terms-box {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 84vh;
  overflow-y: auto;
  background: #101828;
  color: #ffffff;
  border-radius: 22px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.terms-close {
  position: absolute;
  top: 14px;
  right: 20px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.terms-box h2 {
  margin-bottom: 24px;
  padding-right: 42px;
  font-size: 22px;
  line-height: 1.3;
}

.terms-content h3 {
  margin-top: 22px;
  margin-bottom: 10px;
  color: #d7ff32;
  font-size: 18px;
}

.terms-content h4 {
  margin-top: 18px;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 16px;
}

.terms-content p,
.terms-content li {
  color: #dbe3f0;
  line-height: 1.65;
  font-size: 15px;
}

.terms-content ul {
  margin: 10px 0 16px 24px;
}

.terms-divider {
  height: 1px;
  margin: 28px 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(215, 255, 50, 0.65),
    transparent
  );
}