:root {
  --auth-radius-lg: 26px;
  --auth-radius-md: 16px;
  --auth-border: rgba(15, 23, 42, 0.10);
  --auth-border-2: rgba(15, 23, 42, 0.06);
  --auth-shadow: 0 30px 70px rgba(2, 6, 23, 0.16);
  --auth-shadow-sm: 0 12px 28px rgba(2, 6, 23, 0.10);
  --auth-accent: #2563eb;
  --auth-accent-rgb: 37, 99, 235;
  --auth-text: #0f172a;
  --auth-muted: #64748b;
}

body.sk-auth {
  font-family: Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--auth-text);
}

body.sk-auth {
  background: radial-gradient(900px 520px at 18% 10%, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0) 60%),
    radial-gradient(800px 520px at 90% 0%, rgba(14, 165, 233, 0.10), rgba(14, 165, 233, 0) 55%),
    #f6f7fb;
  background-attachment: fixed;
  min-height: 100svh;
}

.sk-auth-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2.25rem 1.25rem;
}

.sk-auth-frame {
  width: min(1120px, 100%);
  border-radius: var(--auth-radius-lg);
  border: 1px solid var(--auth-border-2);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--auth-shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.sk-auth-hero {
  position: relative;
  padding: 2.25rem 2.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.55));
}

.sk-auth-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 560px at 20% 0%, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0) 60%),
    radial-gradient(900px 560px at 90% 20%, rgba(14, 165, 233, 0.14), rgba(14, 165, 233, 0) 60%);
  opacity: 0.85;
  pointer-events: none;
}

.sk-auth-hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.sk-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.sk-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.sk-brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.sk-brand-title strong {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.sk-brand-title span {
  font-size: 0.84rem;
  color: var(--auth-muted);
  font-weight: 650;
}

.sk-auth-headline {
  margin-top: 0.25rem;
}

.sk-auth-headline h1 {
  font-size: 2.35rem;
  line-height: 1.05;
  letter-spacing: -0.8px;
  margin: 0;
  font-weight: 900;
}

.sk-auth-headline p {
  margin: 0.7rem 0 0;
  color: var(--auth-muted);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 48ch;
}

.sk-auth-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.sk-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.70);
  font-weight: 750;
  color: rgba(15, 23, 42, 0.86);
  font-size: 0.86rem;
}

.sk-badge i {
  color: var(--auth-accent);
}

.sk-auth-form {
  position: relative;
  padding: 2.25rem 2.25rem;
  background: rgba(255, 255, 255, 0.88);
  border-left: 1px solid var(--auth-border-2);
}

.sk-auth-card {
  max-width: 420px;
  margin: 0 auto;
}

.sk-auth-card h2 {
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 0;
}

.sk-auth-card .sk-subtitle {
  color: var(--auth-muted);
  margin-top: 0.35rem;
  margin-bottom: 1.35rem;
}

.sk-field {
  position: relative;
  margin-bottom: 1rem;
}

.sk-field input {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.94);
  padding: 0 2.75rem 0 2.75rem;
  font-weight: 650;
  letter-spacing: -0.1px;
}

.sk-field input::placeholder {
  color: rgba(100, 116, 139, 0.9);
  font-weight: 650;
}

.sk-field input:focus {
  outline: none;
  border-color: rgba(var(--auth-accent-rgb), 0.55);
  box-shadow: 0 0 0 0.28rem rgba(var(--auth-accent-rgb), 0.14);
}

.sk-field .sk-icon-left {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(15, 23, 42, 0.55);
}

.sk-field .sk-action-right {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  height: 38px;
  width: 38px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(15, 23, 42, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sk-action-right:hover {
  background: rgba(15, 23, 42, 0.04);
}

.sk-actions {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.sk-actions .btn {
  height: 48px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: -0.1px;
}

.sk-actions .btn-primary {
  background: linear-gradient(135deg, rgba(var(--auth-accent-rgb), 0.98), rgba(14, 165, 233, 0.92));
  border: 0;
  box-shadow: 0 14px 32px rgba(var(--auth-accent-rgb), 0.22);
}

.sk-actions .btn-primary:hover {
  box-shadow: 0 16px 36px rgba(var(--auth-accent-rgb), 0.26);
}

.sk-actions .btn-outline-primary {
  border: 1px solid rgba(var(--auth-accent-rgb), 0.50);
  color: #1d4ed8;
  background: rgba(255, 255, 255, 0.0);
}

.sk-actions .btn-outline-primary:hover {
  background: rgba(var(--auth-accent-rgb), 0.08);
  border-color: rgba(var(--auth-accent-rgb), 0.70);
  color: #1d4ed8;
}

.sk-links {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  font-weight: 700;
}

.sk-links a {
  color: rgba(15, 23, 42, 0.72);
  text-decoration: none;
}

.sk-links a:hover {
  color: rgba(15, 23, 42, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sk-auth-footnote {
  margin-top: 1.15rem;
  border-top: 1px solid var(--auth-border-2);
  padding-top: 0.9rem;
  color: rgba(100, 116, 139, 0.95);
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 991.98px) {
  .sk-auth-frame {
    grid-template-columns: 1fr;
  }

  .sk-auth-hero {
    padding: 1.5rem 1.5rem;
  }

  .sk-auth-form {
    padding: 1.5rem 1.5rem 2rem;
    border-left: 0;
    border-top: 1px solid var(--auth-border-2);
  }
}

@media (max-width: 575.98px) {
  .sk-auth-shell {
    padding: 1.25rem 0.75rem;
  }

  .sk-auth-hero,
  .sk-auth-form {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .sk-auth-headline h1 {
    font-size: 2.0rem;
  }
}
