@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

/* ===== LADO ESQUERDO ===== */
.auth-left {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  color: white;
  position: relative;

  background: radial-gradient(1200px 800px at 15% 25%,
      rgba(255, 220, 140, 0.35) 0%,
      rgba(255, 160, 60, 0.22) 32%,
      rgba(255, 100, 0, 0.10) 55%,
      rgba(10, 14, 22, 0) 72%),
    linear-gradient(135deg,
      #ff7a00 0%,
      #ff9a1f 40%,
      #ffb84a 65%,
      #121826 100%);
}

/* Branding */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideUpFade 0.6s ease-out;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.brand-badge:hover {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255,255,255,0.25);
  box-shadow: 0 8px 20px rgba(255, 160, 60, 0.3);
}

.brand-badge i {
  font-size: 22px;
}

.brand-text h2 {
  font-size: 18px;
  font-weight: 700;
}

.brand-text p {
  font-size: 12px;
  opacity: 0.9;
}

/* ===== LOGIN SEM FUNDO ===== */
.login-card {
  max-width: 420px;
  margin-top: 20px;
  animation: slideUpFade 0.7s ease-out 0.2s both;
}

.container {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.container h1 {
  font-size: 36px;
  margin-bottom: 8px;
  color: white;
}

/* ===== INPUTS ===== */
.input-box {
  position: relative;
  width: 100%;
  height: 54px;
  margin: 18px 0;
  animation: slideUpFade 0.7s ease-out both;
}

.input-box:nth-of-type(1) {
  animation-delay: 0.3s;
}

.input-box:nth-of-type(2) {
  animation-delay: 0.4s;
}

.input-box input {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.10);
  color: white;
  padding: 0 46px 0 16px;
  font-size: 15px;
  outline: none;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.input-box input::placeholder {
  color: rgba(255,255,255,0.7);
}

.input-box input:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.5);
}

.input-box input:focus {
  border-color: rgba(255, 210, 120, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 160, 60, 0.25), 0 8px 24px rgba(255, 160, 60, 0.2);
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.input-box i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  transition: all 0.3s ease;
  pointer-events: none;
}

.input-box input:focus ~ i {
  color: rgba(255, 210, 120, 0.9);
  transform: translateY(-50%) scale(1.1);
}

/* ===== LEMBRAR / ESQUECI ===== */
.remember-forgot {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 10px 0;
}

.remember-forgot label {
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.remember-forgot label:hover {
  opacity: 1;
  transform: translateX(2px);
}

.remember-forgot input[type="checkbox"] {
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: #ff9a1f;
}

.remember-forgot a {
  color: rgba(255, 210, 120, 0.9);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.remember-forgot a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 210, 120, 0.9);
  transition: width 0.3s ease;
}

.remember-forgot a:hover {
  color: #ffd36a;
}

.remember-forgot a:hover::after {
  width: 100%;
}

/* ===== BOTÃO ===== */
.Login {
  width: 100%;
  height: 52px;
  margin-top: 18px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  color: #111827;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;

  background: linear-gradient(90deg, #ffd36a, #ff9a1f, #ff7a00);
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: slideUpFade 0.8s ease-out 0.4s both;
}

.Login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.Login::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, #ffd36a, #ff9a1f, #ff7a00);
  border-radius: 999px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  filter: blur(10px);
}

.Login:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(255, 160, 60, 0.4);
}

.Login:hover::before {
  left: 100%;
}

.Login:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.Login:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ===== TEXTO FINAL ===== */
.footer-note {
  margin-top: auto;
  font-size: 12px;
  opacity: 0.85;
  animation: fadeIn 0.8s ease-out 0.6s both;
  transition: opacity 0.3s ease;
}

.footer-note:hover {
  opacity: 1;
}

/* ===== LADO DIREITO ===== */
.auth-right {
  background: url("imagem.jpg") center/cover no-repeat;
  position: relative;
}

.auth-right::before {
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(800px 420px at 60% 25%,
    rgba(255, 190, 80, 0.12) 0%,
    rgba(0,0,0,0.55) 58%,
    rgba(0,0,0,0.75) 100%);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-left {
    padding: 40px 24px;
  }

  .auth-right {
    display: none;
  }

  .container h1 {
    font-size: 28px;
  }

  .login-card {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .auth-left {
    padding: 24px 16px;
    gap: 16px;
  }

  .brand {
    margin-bottom: 10px;
  }

  .brand-text h2 {
    font-size: 16px;
  }

  .container h1 {
    font-size: 24px;
  }

  .input-box {
    height: 48px;
    margin: 14px 0;
  }

  .input-box input {
    height: 48px;
    font-size: 14px;
    padding: 0 42px 0 14px;
  }

  .Login {
    height: 46px;
    font-size: 13px;
    margin-top: 14px;
  }

  .footer-note {
    font-size: 11px;
  }
}


