* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #07111f;
}

/* ==========================
   CONTAINER
========================== */

.auth-container {
  display: flex;
  min-height: 100vh;
}

/* ==========================
   LADO ESQUERDO
========================== */

.auth-left {
  flex: 1;
  background: linear-gradient(135deg, #07111f, #0f172a);
  color: white;
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 60px;
}

.brand-icon {
  width: 55px;
  height: 55px;
  border-radius: 16px;
  background: #16c45b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.brand h1 { font-size: 36px; }
.brand span { color: #94a3b8; }

.hero-text h2 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  color: #cbd5e1;
  max-width: 520px;
  line-height: 1.7;
  font-size: 17px;
}

/* ==========================
   LADO DIREITO
========================== */

.auth-right {
  width: 520px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.auth-card { width: 100%; }

.auth-card h2 {
  font-size: 34px;
  margin-bottom: 35px;
  color: #07111f;
}

/* ==========================
   INPUTS
========================== */

.input-group { margin-bottom: 20px; }

.input-group label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-weight: 600;
}

.input-group input {
  width: 100%;
  height: 54px;
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  padding: 0 16px;
  font-size: 15px;
  outline: none;
  transition: 0.2s;
}

.input-group input:focus {
  border-color: #16c45b;
  box-shadow: 0 0 0 3px rgba(22, 196, 91, 0.15);
}

/* ==========================
   BOTÃO
========================== */

.btn-auth {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 14px;
  background: #16c45b;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.2s;
}

.btn-auth:hover {
  background: #13a84e;
  transform: translateY(-2px);
}

/* ==========================
   LINKS
========================== */

.auth-links {
  margin-top: 25px;
  text-align: center;
}

.auth-links p {
  color: #64748b;
  margin-bottom: 8px;
}

.auth-links a {
  color: #16c45b;
  text-decoration: none;
  font-weight: bold;
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {

  .auth-container {
    flex-direction: column;
    min-height: 100vh;
  }

  /* Esquerdo vira topo compacto */
  .auth-left {
    padding: 28px 24px 24px;
    flex: none;
  }

  .brand {
    margin-bottom: 16px;
  }

  .brand h1 { font-size: 26px; }
  .brand-icon { width: 44px; height: 44px; font-size: 20px; }

  .hero-text h2 {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .hero-text p {
    font-size: 14px;
    color: #94a3b8;
  }

  /* Direito ocupa o restante da tela */
  .auth-right {
    width: 100%;
    flex: 1;
    border-radius: 24px 24px 0 0;
    padding: 32px 24px 40px;
    align-items: flex-start;
    /* sobe sobre o fundo escuro */
    margin-top: -20px;
    position: relative;
    z-index: 1;
  }

  .auth-card h2 {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .input-group input {
    height: 50px;
    font-size: 16px; /* evita zoom no iOS */
  }

  .btn-auth {
    height: 52px;
    font-size: 17px;
  }
}

@media (max-width: 400px) {
  .auth-left { padding: 22px 18px 20px; }
  .auth-right { padding: 28px 18px 36px; }
}
