/* ==========================================================================
   FINZZY AUTH - SPLIT SCREEN GLASSMORPHISM DESIGN SYSTEM
   ========================================================================== */

:root {
  --auth-bg-dark: #050811;
  --auth-bg-dark-card: rgba(15, 23, 42, 0.65);
  --auth-border-dark: rgba(255, 255, 255, 0.08);
  --auth-primary: #10b981;
  --auth-primary-hover: #059669;
  --auth-primary-glow: rgba(16, 185, 129, 0.35);
  --auth-cyan: #06b6d4;
  --auth-text-main: #0f172a;
  --auth-text-muted: #64748b;
  --auth-text-subtle: #94a3b8;
  --auth-border-input: #e2e8f0;
  --auth-bg-input: #ffffff;
  --auth-radius-lg: 16px;
  --auth-radius-md: 12px;
  --auth-radius-sm: 8px;
}

/* Container Split Screen */
.auth-split-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--auth-text-main);
  overflow-x: hidden;
}

/* Coluna Esquerda - Dark Glass Hero */
.auth-split-aside {
  flex: 1 1 50%;
  background: var(--auth-bg-dark);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 56px;
  color: #ffffff;
  overflow: hidden;
}

/* Luzes de Fundo Radiais */
.auth-aside-glow-1 {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(5, 8, 17, 0) 70%);
  pointer-events: none;
  filter: blur(40px);
}

.auth-aside-glow-2 {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(5, 8, 17, 0) 70%);
  pointer-events: none;
  filter: blur(40px);
}

.auth-aside-header {
  position: relative;
  z-index: 2;
}

.auth-aside-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 40px 0;
}

.auth-aside-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 16px;
}

.auth-aside-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: #94a3b8;
  margin-bottom: 40px;
}

.auth-aside-author span.bullet {
  color: var(--auth-primary);
  font-size: 18px;
}

/* Lista de Benefícios */
.auth-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.auth-benefit-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--auth-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.auth-benefit-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 2px;
}

.auth-benefit-text p {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
}

.auth-aside-footer {
  position: relative;
  z-index: 2;
  font-size: 12.5px;
  color: #64748b;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Coluna Direita - Formulário Clean */
.auth-split-main {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 32px;
  background: #ffffff;
  position: relative;
}

.auth-form-card {
  width: 100%;
  max-width: 440px;
}

.auth-main-brand {
  margin-bottom: 28px;
}

.auth-form-header {
  margin-bottom: 28px;
}

.auth-form-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 6px;
}

.auth-form-subtitle {
  font-size: 14.5px;
  color: var(--auth-text-muted);
  line-height: 1.5;
}

/* Campos de Formulário */
.auth-input-group {
  margin-bottom: 20px;
}

.auth-input-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.auth-input-wrapper {
  position: relative;
}

.auth-input-control {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: var(--auth-radius-md);
  border: 1px solid var(--auth-border-input);
  background: #ffffff;
  font-size: 15px;
  color: #0f172a;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.auth-input-control:focus {
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.auth-input-control::placeholder {
  color: #94a3b8;
}

.auth-input-control.is-invalid {
  border-color: #ef4444;
}

.auth-input-control.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.auth-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.auth-password-toggle:hover {
  color: #334155;
}

/* Links e Checkbox */
.auth-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 13.5px;
}

.auth-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

.auth-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--auth-primary);
  border-radius: 4px;
  cursor: pointer;
}

.auth-link {
  color: var(--auth-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.auth-link:hover {
  color: var(--auth-primary-hover);
  text-decoration: underline;
}

/* Botão de Ação Primário */
.auth-btn-primary {
  width: 100%;
  height: 50px;
  border-radius: var(--auth-radius-md);
  border: none;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px -2px rgba(16, 185, 129, 0.35);
  transition: all 0.25s ease;
}

.auth-btn-primary:hover:not(:disabled) {
  transform: translateY(-1.5px);
  box-shadow: 0 12px 28px -2px rgba(16, 185, 129, 0.45);
}

.auth-btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.auth-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Rodapé do Formulário */
.auth-form-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--auth-text-muted);
}

/* Termos de Uso e Privacidade */
.auth-legal-terms {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin-top: 18px;
  text-align: center;
}

.auth-legal-terms a {
  color: var(--auth-primary);
  text-decoration: underline;
}

.auth-legal-terms a:hover {
  color: var(--auth-primary-hover);
}

/* Responsividade */
@media (max-width: 1024px) {
  .auth-split-aside {
    padding: 40px 36px;
  }
  .auth-aside-title {
    font-size: 32px;
  }
}

@media (max-width: 840px) {
  .auth-split-wrapper {
    flex-direction: column;
    min-height: 100vh;
  }

  /* Oculta totalmente o painel esquerdo no mobile, exibindo apenas o formulário */
  .auth-split-aside {
    display: none !important;
  }

  .auth-split-main {
    flex: 1 1 100%;
    width: 100%;
    min-height: 100vh;
    padding: 40px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .auth-form-card {
    max-width: 100%;
  }

  .auth-form-title {
    font-size: 24px;
  }
}
