:root {
  --auth-bg: #f5f7fb;
  --auth-card: #ffffff;
  --auth-text: #111827;
  --auth-sub: #6b7280;
  --auth-line: #e5e7eb;
  --auth-primary: #111827;
  --auth-primary-hover: #000000;
  --auth-accent: #2563eb;
  --auth-danger: #dc2626;
  --auth-success: #059669;
  --auth-radius: 20px;
  --auth-shadow: 0 20px 60px rgba(17, 24, 39, 0.08);
}

.auth-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f7f8fb 0%, #eef2f7 100%);
}

.auth-shell {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 80px;
}

.auth-wrap {
  width: 100%;
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.auth-info {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  border-radius: 28px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--auth-shadow);
}

.auth-info::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.auth-info h1 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.auth-info p {
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  line-height: 1.7;
}

.auth-points {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.auth-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
}

.auth-point > div:first-child {
  color: #ffffff;
  font-weight: 900;
}

.auth-point strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
}

.auth-point span {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
}

.auth-card {
  background: var(--auth-card);
  border: 1px solid rgba(17,24,39,0.06);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--auth-shadow);
}

.auth-card-head {
  margin-bottom: 24px;
}

.auth-card-head h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--auth-text);
}

.auth-card-head p {
  margin: 0;
  color: var(--auth-sub);
  font-size: 15px;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid.two {
  grid-template-columns: 1fr 1fr;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--auth-text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--auth-line);
  background: #fff;
  color: var(--auth-text);
  font-size: 15px;
  outline: none;
  transition: 0.2s ease;
}

.form-textarea {
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.form-help {
  font-size: 13px;
  color: var(--auth-sub);
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-link {
  color: var(--auth-accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-submit {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  background: var(--auth-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.auth-submit:hover {
  background: var(--auth-primary-hover);
}

.auth-submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-box {
  padding: 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.auth-box.info {
  background: #eff6ff;
  color: #1d4ed8;
}

.auth-box.error {
  background: #fef2f2;
  color: var(--auth-danger);
}

.auth-box.success {
  background: #ecfdf5;
  color: var(--auth-success);
}

.auth-checks {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--auth-line);
  border-radius: 16px;
  background: #fafafa;
}

.auth-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--auth-text);
}

.auth-check input {
  margin-top: 3px;
}

.auth-divider {
  margin: 20px 0;
  height: 1px;
  background: var(--auth-line);
}

.auth-mini {
  font-size: 13px;
  color: var(--auth-sub);
}

.auth-topbar {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17,24,39,0.06);
}

.auth-topbar .container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.auth-hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

@media (max-width: 980px) {
  .auth-wrap {
    grid-template-columns: 1fr;
  }

  .auth-info {
    padding: 36px;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .auth-card,
  .auth-info {
    padding: 24px;
    border-radius: 22px;
  }

  .auth-info h1 {
    font-size: 32px;
  }

  .auth-card-head h2 {
    font-size: 26px;
  }
}