:root {
  --bg: #030605;
  --panel: rgba(7, 11, 10, .84);
  --line: rgba(167, 255, 47, .36);
  --line-soft: rgba(255, 255, 255, .1);
  --text: #f4f6f2;
  --muted: #c0c7bd;
  --green: #a7ff2f;
  --green-2: #8fec20;
  --radius: 8px;
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 43% 46%, rgba(167,255,47,.2), transparent 24%),
    radial-gradient(circle at 5% 96%, rgba(167,255,47,.14), transparent 28%),
    linear-gradient(180deg, #020403 0%, #050806 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(167,255,47,.18) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px, 48px 48px;
  mask-image: linear-gradient(180deg, transparent 0%, black 14%, black 88%, transparent 100%);
  opacity: .45;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(410px, 600px) minmax(380px, 455px);
  gap: clamp(24px, 4.5vw, 62px);
  align-items: center;
  width: min(1080px, calc(100% - 84px));
  margin: 0 auto;
  padding: 34px 0;
  position: relative;
}

.brand-logo { width: 190px; height: auto; display: block; filter: drop-shadow(0 0 18px rgba(167,255,47,.18)); }
.auth-left { min-height: 610px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.auth-left .brand-logo { position: absolute; top: 22px; left: 0; }
.auth-copy { width: min(390px, 100%); margin: 78px 0 0 -58px; position: relative; z-index: 2; }
.auth-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 4.6vw, 56px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: 0;
}
.auth-copy h1 span { color: var(--green); }
.auth-copy p { margin: 0 0 28px; color: var(--muted); font-size: 17px; line-height: 1.5; }
.auth-copy p strong { color: var(--green); }

.auth-benefits { display: grid; gap: 16px; width: min(380px, 100%); margin-left: -58px; }
.auth-benefits article { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 14px; color: #fff; font-size: 16px; line-height: 1.42; }
.auth-benefits img { width: 46px; height: 46px; padding: 8px; border: 1px solid var(--line); border-radius: 7px; object-fit: contain; }

.auth-mascot {
  position: absolute;
  left: 255px;
  bottom: 48px;
  width: min(430px, 42vw);
  filter: drop-shadow(0 0 34px rgba(167,255,47,.38));
  z-index: 1;
}
.floating-tools {
  position: absolute;
  inset: auto 0 138px auto;
  display: grid;
  grid-template-columns: repeat(2, 54px);
  gap: 14px 130px;
  opacity: .55;
}
.floating-tools img { width: 54px; height: 54px; padding: 11px; border: 1px solid var(--line); border-radius: 7px; background: rgba(167,255,47,.035); }

.auth-card {
  width: 100%;
  padding: 32px 32px 30px;
  border: 1px solid var(--green);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  box-shadow: 0 0 50px rgba(167,255,47,.14), 0 24px 80px rgba(0,0,0,.45);
  backdrop-filter: blur(18px);
}
.auth-card h2 { margin: 0 0 8px; text-align: center; font-size: 30px; line-height: 1.15; }
.auth-card > p { margin: 0 0 26px; text-align: center; color: var(--muted); font-size: 15px; }
.auth-form { display: grid; gap: 17px; }
.field-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 9px; }
.field-head label { font-weight: 700; }
.field-head a { color: var(--green); font-size: 14px; }
.input-wrap {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(255,255,255,.025);
  padding: 0 16px;
}
.input-wrap img { width: 22px; height: 22px; object-fit: contain; opacity: .9; }
.input-wrap input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 16px; }
.input-wrap input::placeholder { color: #b9beb6; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.check { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.check input { width: 20px; height: 20px; accent-color: var(--green); }
.auth-submit {
  height: 54px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #071004;
  font-weight: 900;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(167,255,47,.18);
}
.auth-submit span { margin-left: 14px; font-size: 24px; }

.divider { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; color: #9fa79c; margin: 16px 0 10px; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line-soft); }
.social-login { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.social-login button {
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(255,255,255,.025);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}
.social-login img { width: 22px; height: 22px; object-fit: contain; }
.auth-switch { margin: 58px 0 0; text-align: center; color: #fff; }
.auth-switch a { color: var(--green); }
.back-home { position: fixed; top: 24px; right: 28px; color: var(--green); border: 1px solid var(--line); border-radius: 7px; padding: 11px 16px; background: rgba(0,0,0,.25); z-index: 4; }

@media (max-width: 1040px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { min-height: 540px; }
  .auth-copy { margin-left: 0; }
  .auth-benefits { margin-left: 0; }
  .auth-mascot { left: auto; right: 0; width: 310px; }
  .floating-tools { display: none; }
  .auth-card { max-width: 470px; justify-self: center; }
}

@media (max-width: 680px) {
  .auth-page { width: min(100% - 28px, 1320px); padding: 28px 0; }
  .auth-left { min-height: auto; padding-top: 88px; }
  .auth-left .brand-logo { width: 180px; }
  .auth-copy { margin-left: 0; }
  .auth-benefits { margin-left: 0; }
  .auth-copy h1 { font-size: 38px; }
  .auth-copy p { font-size: 17px; }
  .auth-mascot { position: relative; width: 260px; right: auto; left: 50%; bottom: auto; transform: translateX(-50%); margin-top: -20px; }
  .auth-card { padding: 28px 20px; }
  .social-login { grid-template-columns: 1fr; }
  .back-home { position: static; display: inline-flex; margin: 18px; }
}

.alert-error,.alert-success{padding:12px 14px;border-radius:12px;margin:12px 0;font-weight:700;font-size:14px}.alert-error{background:#ffe8e8;color:#a31313}.alert-success{background:#e8fff0;color:#0d7a33}
:root {
  --agiliza-hand-cursor: url("assets/cursors/agiliza-neon-cursor-56.png") 18 8, pointer;
}

html,
body,
body *:not(input):not(textarea):not([contenteditable="true"]) {
  cursor: var(--agiliza-hand-cursor) !important;
}

input,
textarea,
[contenteditable="true"] {
  cursor: text !important;
}
