* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 30%),
    linear-gradient(180deg, #fbfbfb 0%, #f5f5f5 100%);
  color: #1f1f1f;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(320px, 0.85fr);
}

.hero-panel,
.signin-panel {
  padding: 48px;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 249, 255, 0.92)),
    #f7f8fb;
  border-right: 1px solid #e5e5e5;
}

.hero-badge,
.hero-label,
.brand-kicker,
.meta-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #616161;
}

.hero-panel h1 {
  margin: 0;
  max-width: 640px;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 700;
}

.hero-panel p {
  margin: 0;
  max-width: 600px;
  color: #616161;
  font-size: 16px;
  line-height: 1.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.hero-card,
.signin-panel {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.hero-card {
  padding: 20px;
  border-radius: 16px;
  display: grid;
  gap: 10px;
}

.hero-card strong {
  font-size: 20px;
  font-weight: 600;
}

.hero-card span:last-child {
  color: #616161;
  font-size: 14px;
  line-height: 1.6;
}

.signin-panel {
  margin: auto;
  width: min(460px, calc(100% - 40px));
  border-radius: 18px;
  display: grid;
  gap: 20px;
}

.signin-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.brand-title {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 700;
}

.signin-panel h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
}

.signin-copy,
.footer-note {
  margin: 0;
  color: #616161;
  font-size: 15px;
  line-height: 1.7;
}

.signin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.signin-button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.error-box {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(209, 52, 56, 0.06);
  border: 1px solid rgba(209, 52, 56, 0.18);
  color: #9f1239;
  font-size: 14px;
  line-height: 1.5;
}

.signin-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid #ededed;
}

.signin-meta strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
}

.hidden {
  display: none !important;
}

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

  .hero-panel {
    border-right: 0;
    border-bottom: 1px solid #e5e5e5;
  }
}

@media (max-width: 640px) {
  .hero-panel,
  .signin-panel {
    padding: 28px 24px;
  }

  .hero-panel h1 {
    font-size: 38px;
  }

  .signin-panel h2 {
    font-size: 28px;
  }

  .signin-meta {
    grid-template-columns: 1fr;
  }
}
