@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-main: #020817;
  --bg-panel: #071226;
  --bg-panel-2: #08152d;
  --bg-form: #050b19;

  --blue: #0f7cff;
  --blue-2: #1fb6ff;
  --blue-3: #2563eb;
  --purple: #7c3aed;
  --cyan: #22d3ee;
  --green: #22c55e;

  --white: #ffffff;
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(59, 130, 246, 0.36);

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-blue: 0 0 70px rgba(15, 124, 255, 0.23);
  --shadow-purple: 0 0 70px rgba(124, 58, 237, 0.2);
  --font: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(circle at 12% 14%, rgba(15, 124, 255, 0.24), transparent 30%),
    radial-gradient(circle at 86% 24%, rgba(124, 58, 237, 0.2), transparent 28%),
    radial-gradient(circle at 52% 100%, rgba(31, 182, 255, 0.14), transparent 35%),
    linear-gradient(135deg, #020817 0%, #051023 45%, #020817 100%);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

/* =========================================================
   PAGE
========================================================= */

.auth-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 34px 34px 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 72%);
  pointer-events: none;
}

.auth-page::after {
  content: '';
  position: absolute;
  width: 720px;
  height: 720px;
  left: 7%;
  bottom: -470px;
  background:
    radial-gradient(circle, rgba(15, 124, 255, 0.28), transparent 60%);
  filter: blur(12px);
  pointer-events: none;
}

/* =========================================================
   SHELL
========================================================= */

.auth-shell {
  position: relative;
  z-index: 2;
  width: min(1500px, 100%);
  min-height: 790px;
  display: grid;
  grid-template-columns: 1.67fr 1fr;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: var(--radius-xl);
  background: rgba(3, 8, 23, 0.78);
  box-shadow:
    0 40px 130px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  backdrop-filter: blur(26px);
}

/* =========================================================
   LOGO MARK
========================================================= */

.auth-logo-mark,
.login-symbol {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

.auth-logo-mark span,
.login-symbol span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-2), var(--blue), var(--purple));
  box-shadow: 0 0 30px rgba(15, 124, 255, 0.35);
}

.auth-logo-mark span:nth-child(1),
.login-symbol span:nth-child(1) {
  width: 42px;
  height: 16px;
  left: 0;
  top: 8px;
  transform: rotate(-32deg);
}

.auth-logo-mark span:nth-child(2),
.login-symbol span:nth-child(2) {
  width: 44px;
  height: 17px;
  left: 8px;
  top: 22px;
  transform: rotate(-68deg);
}

.auth-logo-mark span:nth-child(3),
.login-symbol span:nth-child(3) {
  width: 30px;
  height: 15px;
  right: 0;
  bottom: 8px;
  transform: rotate(-35deg);
  background: linear-gradient(135deg, #2563eb, var(--purple));
}

/* =========================================================
   LEFT HERO
========================================================= */

.auth-hero {
  position: relative;
  padding: 42px 42px 32px;
  background:
    radial-gradient(circle at 22% 20%, rgba(31, 182, 255, 0.16), transparent 32%),
    radial-gradient(circle at 90% 70%, rgba(124, 58, 237, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(7, 18, 43, 0.98), rgba(9, 18, 47, 0.92));
  overflow: hidden;
}

.auth-hero::before {
  content: '';
  position: absolute;
  width: 680px;
  height: 680px;
  right: -280px;
  top: 130px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(31, 182, 255, 0.12), transparent 58%);
  border: 1px solid rgba(59, 130, 246, 0.08);
  pointer-events: none;
}

.auth-hero::after {
  content: '';
  position: absolute;
  left: -60px;
  right: -80px;
  bottom: -150px;
  height: 260px;
  background:
    radial-gradient(circle at 12% 42%, rgba(124, 58, 237, 0.35), transparent 28%),
    radial-gradient(circle at 98% 22%, rgba(31, 182, 255, 0.22), transparent 26%);
  filter: blur(4px);
  pointer-events: none;
}

.auth-logo-area {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
}

.auth-logo-text {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: 23px;
  letter-spacing: -0.05em;
}

.auth-logo-text strong {
  font-weight: 900;
  color: var(--white);
}

.auth-logo-text span {
  color: #dbeafe;
  font-weight: 400;
}

.auth-hero-content {
  position: relative;
  z-index: 4;
  max-width: 820px;
}

.auth-hero-content h1 {
  max-width: 760px;
  font-size: clamp(44px, 4vw, 67px);
  line-height: 1.05;
  letter-spacing: -0.075em;
  font-weight: 500;
  margin-bottom: 22px;
}

.auth-hero-content h1 span {
  background: linear-gradient(110deg, #40cfff 0%, #1677ff 48%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-hero-content p {
  max-width: 650px;
  color: #c8d4e8;
  font-size: 17px;
  line-height: 1.64;
  margin-bottom: 32px;
}

.auth-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 20px;
  max-width: 700px;
}

.auth-benefit {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.auth-benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(15, 124, 255, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.16);
  color: #9bdcff;
  font-size: 15px;
  box-shadow: 0 0 28px rgba(15, 124, 255, 0.12);
}

.auth-benefit strong {
  display: block;
  color: #eaf2ff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 3px;
}

.auth-benefit small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

/* =========================================================
   LEFT VISUAL
========================================================= */

.auth-visual-area {
  position: relative;
  z-index: 4;
  height: 350px;
  margin-top: 42px;
}

.auth-dashboard-mockup {
  position: absolute;
  left: 156px;
  right: 72px;
  bottom: 10px;
  height: 285px;
  display: grid;
  grid-template-columns: 126px 1fr;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(5, 10, 25, 0.98), rgba(11, 24, 55, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.17);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.52),
    0 0 60px rgba(15, 124, 255, 0.16);
  transform: perspective(1100px) rotateX(5deg) rotateY(-7deg) rotateZ(0.5deg);
}

.mockup-sidebar {
  padding: 22px 14px;
  background: rgba(2, 6, 23, 0.42);
  border-right: 1px solid rgba(148, 163, 184, 0.12);
}

.mockup-mini-logo {
  width: 28px;
  height: 18px;
  margin: 0 0 20px 6px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--blue-2), var(--blue), var(--purple));
  box-shadow: 0 0 22px rgba(15, 124, 255, 0.28);
}

.mockup-nav {
  height: 18px;
  border-radius: 7px;
  background: rgba(148, 163, 184, 0.1);
  margin-bottom: 11px;
}

.mockup-nav.active {
  background: linear-gradient(90deg, #0b63f6, #0f7cff);
  box-shadow: 0 0 24px rgba(15, 124, 255, 0.35);
}

.mockup-content {
  padding: 20px;
}

.mockup-title {
  width: 170px;
  height: 15px;
  border-radius: 99px;
  background: rgba(226, 232, 240, 0.22);
  margin-bottom: 17px;
}

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-bottom: 15px;
}

.mockup-cards div {
  height: 58px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(15, 124, 255, 0.15), rgba(148, 163, 184, 0.04));
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.mockup-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.mockup-chart {
  position: relative;
  height: 132px;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(to top, rgba(15, 124, 255, 0.25), transparent 72%),
    rgba(15, 23, 42, 0.44);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.mockup-chart::before {
  content: '';
  position: absolute;
  inset: 18px 16px;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 35px 24px;
}

.mockup-chart span {
  position: absolute;
  left: 24px;
  right: 22px;
  bottom: 31px;
  height: 58px;
  border-top: 4px solid #1683ff;
  border-radius: 50%;
  transform: skewX(-20deg) rotate(-4deg);
  filter: drop-shadow(0 0 12px rgba(15, 124, 255, 0.9));
}

.mockup-list {
  display: grid;
  gap: 10px;
}

.mockup-list div {
  height: 37px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.auth-floating-card {
  position: absolute;
  z-index: 8;
  border-radius: 18px;
  background: rgba(9, 17, 38, 0.82);
  border: 1px solid rgba(96, 165, 250, 0.32);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.34),
    0 0 36px rgba(15, 124, 255, 0.18);
  backdrop-filter: blur(20px);
}

.auth-floating-card small {
  display: block;
  color: #a9b7cf;
  font-size: 12px;
  line-height: 1.2;
}

.auth-floating-card strong {
  display: block;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.auth-floating-card span {
  display: inline-flex;
  color: #6ee7b7;
  font-size: 12px;
  font-weight: 600;
}

.uptime-card {
  left: 20px;
  top: 82px;
  width: 132px;
  padding: 16px 18px;
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow:
    0 0 34px rgba(139, 92, 246, 0.24),
    0 24px 55px rgba(0, 0, 0, 0.32);
}

.uptime-card strong {
  font-size: 26px;
  margin: 8px 0;
}

.response-card {
  right: 170px;
  top: 18px;
  width: 178px;
  padding: 15px 18px;
}

.response-card strong {
  font-size: 23px;
  margin: 7px 0;
}

.security-card {
  right: 42px;
  bottom: 28px;
  width: 176px;
  padding: 16px 18px;
  border-color: rgba(139, 92, 246, 0.52);
  box-shadow:
    0 0 36px rgba(139, 92, 246, 0.24),
    0 24px 55px rgba(0, 0, 0, 0.32);
}

.security-card strong {
  font-size: 16px;
  margin-bottom: 9px;
}

.security-card span {
  margin-bottom: 8px;
}

.auth-trust {
  position: relative;
  z-index: 5;
  text-align: center;
  margin-top: 6px;
  color: rgba(203, 213, 225, 0.54);
}

.auth-trust span {
  display: block;
  font-size: 13px;
  margin-bottom: 18px;
}

.auth-trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}

.auth-trust-logos strong {
  font-size: 19px;
  color: rgba(203, 213, 225, 0.48);
  letter-spacing: -0.045em;
}

/* =========================================================
   RIGHT LOGIN PANEL
========================================================= */

.auth-login-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px;
  background:
    radial-gradient(circle at 70% 18%, rgba(15, 124, 255, 0.12), transparent 30%),
    radial-gradient(circle at 20% 70%, rgba(124, 58, 237, 0.11), transparent 32%),
    linear-gradient(180deg, rgba(4, 10, 24, 0.98), rgba(3, 9, 20, 0.98));
  border-left: 1px solid rgba(148, 163, 184, 0.13);
}

.auth-login-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.45;
  mask-image: radial-gradient(circle at 50% 42%, black 0%, transparent 68%);
  pointer-events: none;
}

.login-box {
  position: relative;
  z-index: 2;
  width: min(465px, 100%);
  padding: 0;
}

.login-symbol {
  width: 72px;
  height: 72px;
  margin: 0 auto 32px;
  transform: scale(1.22);
}

.login-header {
  text-align: center;
  margin-bottom: 34px;
}

.login-header h2 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.055em;
  margin-bottom: 12px;
}

.login-header p {
  color: #b7c4d9;
  font-size: 16px;
  line-height: 1.55;
}

.login-form {
  width: 100%;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 11px;
}

.input-box {
  position: relative;
}

.input-box input {
  width: 100%;
  height: 54px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 11px;
  background: rgba(3, 8, 23, 0.54);
  color: #f8fafc;
  outline: none;
  padding: 0 54px;
  font-size: 15px;
  transition: 0.2s ease;
}

.input-box input::placeholder {
  color: #69778e;
}

.input-box input:focus {
  border-color: rgba(31, 182, 255, 0.56);
  box-shadow: 0 0 0 4px rgba(31, 182, 255, 0.08);
}

.input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #8190a8;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.password-eye {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #8190a8;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 28px;
}

.remember-me {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a7b4ca;
  font-size: 14px;
  cursor: pointer;
}

.remember-me input {
  display: none;
}

.remember-me span {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: rgba(15, 23, 42, 0.9);
  position: relative;
}

.remember-me input:checked + span {
  border-color: transparent;
  background: linear-gradient(135deg, #0f7cff, #45d3ff);
  box-shadow: 0 0 18px rgba(15, 124, 255, 0.3);
}

.remember-me input:checked + span::after {
  content: '✓';
  position: absolute;
  inset: 0;
  color: white;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.login-options a {
  color: #1fb6ff;
  font-size: 14px;
  font-weight: 700;
}

.login-button {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 11px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f7cff 0%, #0b63f6 100%);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  box-shadow:
    0 20px 40px rgba(15, 124, 255, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: 0.2s ease;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 48px rgba(15, 124, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  margin: 35px 0 26px;
  color: #94a3b8;
}

.login-divider span {
  height: 1px;
  background: rgba(148, 163, 184, 0.16);
}

.login-divider small {
  font-size: 14px;
}

.request-access {
  text-align: center;
}

.request-access p {
  color: #a7b4ca;
  font-size: 15px;
  margin-bottom: 12px;
}

.request-access a {
  color: #1fb6ff;
  font-size: 17px;
  font-weight: 600;
}

/* =========================================================
   FOOTER
========================================================= */

.page-footer {
  position: absolute;
  z-index: 4;
  width: min(1480px, calc(100% - 70px));
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 190px;
  color: rgba(203, 213, 225, 0.38);
  font-size: 13px;
}

.page-footer div {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
  body {
    overflow-y: auto;
  }

  .auth-page {
    padding: 22px 22px 74px;
    overflow: visible;
  }

  .auth-shell {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .auth-hero {
    display: none;
  }

  .auth-login-panel {
    min-height: 760px;
    border-left: 0;
  }

  .page-footer {
    width: calc(100% - 44px);
    gap: 20px;
    justify-content: space-between;
  }
}

@media (max-width: 580px) {
  .auth-page {
    padding: 14px 14px 82px;
  }

  .auth-shell {
    border-radius: 24px;
  }

  .auth-login-panel {
    min-height: 690px;
    padding: 28px 20px;
  }

  .login-header h2 {
    font-size: 28px;
  }

  .login-header p {
    font-size: 14px;
  }

  .login-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-footer {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    bottom: 18px;
  }

  .page-footer div {
    gap: 14px;
  }
}

/* =========================================================
   Ajuste de tamanho do logo Flyticon
========================================================= */

.auth-logo-img {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  display: block !important;
  flex: 0 0 52px !important;
}

.login-logo-img {
  width: 170px !important;
  height: auto !important;
  max-width: 170px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto 34px !important;
}