@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
  min-height: 100vh;
  display: flex;
  font-family: 'Inter', Arial, sans-serif;
  background: #0a0e1a;
  overflow: hidden;
}

/* ── Lado esquerdo (visual) ── */
.login-visual {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  background:
    linear-gradient(160deg, #0d1b4b 0%, #0a0e1a 100%);
  overflow: hidden;
}

.login-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(52, 120, 255, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 70% 70%, rgba(120, 60, 255, 0.12) 0%, transparent 70%);
}

.visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(52, 120, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 120, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.visual-content {
  position: relative;
  z-index: 1;
}

.visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52, 120, 255, 0.15);
  border: 1px solid rgba(52, 120, 255, 0.3);
  color: #7aadff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  width: fit-content;
}

.visual-title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.visual-title span {
  color: #3478ff;
}

.visual-sub {
  color: rgba(255,255,255,0.45);
  font-size: 15px;
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 40px;
}

.visual-stats {
  display: flex;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Lado direito (formulário) ── */
.login-panel {
  width: 460px;
  min-height: 100vh;
  background: #0f1320;
  border-left: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
  position: relative;
  z-index: 1;
}

.panel-logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 40px;
}

.panel-logo span {
  color: #3478ff;
}

.panel-heading {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.panel-sub {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  margin-bottom: 32px;
}

/* Tabs */
.tabs {
  display: flex;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 28px;
}

.tabs button {
  flex: 1;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  font-weight: 500;
  padding: 11px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.tabs .active {
  background: #3478ff;
  color: #fff;
  font-weight: 600;
}

/* Inputs */
.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 7px;
}

.input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.input::placeholder {
  color: rgba(255,255,255,0.25);
}

.input:focus {
  border-color: #3478ff;
  background: rgba(52, 120, 255, 0.06);
}

/* Opções */
.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  margin-top: 4px;
}

.options label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  cursor: pointer;
}

.options input[type="checkbox"] {
  accent-color: #3478ff;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.options a {
  color: #3478ff;
  font-size: 13px;
  text-decoration: none;
}

.options a:hover {
  text-decoration: underline;
}

/* Botão principal */
.access-btn {
  width: 100%;
  border: none;
  padding: 14px;
  border-radius: 10px;
  background: #3478ff;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.2px;
  transition: background 0.2s, transform 0.1s;
}

.access-btn:hover {
  background: #2563eb;
}

.access-btn:active {
  transform: scale(0.99);
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.25);
  font-size: 12px;
  margin: 24px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

/* Sociais */
.socials {
  display: flex;
  gap: 10px;
}

.socials button {
  flex: 1;
  padding: 11px 8px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.socials button:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

/* Responsivo */
@media (max-width: 768px) {
  .login-visual {
    display: none;
  }

  .login-panel {
    width: 100%;
    padding: 40px 24px;
  }
}
