.login-wrap {
  min-height: 0;
  width: 100%;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
}
.login-visual {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
}
.login-form-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  min-height: 0;
}

/* Production auth card */
.auth-brand {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: #fff;
  text-shadow:
    0 0 18px rgba(16, 185, 129, 0.45),
    0 0 36px rgba(16, 185, 129, 0.25);
  animation: logo-glow 3s ease-in-out infinite alternate;
}
.auth-brand:hover {
  text-shadow:
    0 0 26px rgba(16, 185, 129, 0.65),
    0 0 52px rgba(16, 185, 129, 0.4);
  text-decoration: none;
}
@keyframes logo-glow {
  0% { text-shadow: 0 0 12px rgba(16, 185, 129, 0.35), 0 0 24px rgba(16, 185, 129, 0.15); }
  100% { text-shadow: 0 0 24px rgba(16, 185, 129, 0.6), 0 0 48px rgba(16, 185, 129, 0.35); }
}

.login-form-side .auth-card {
  position: relative;
  width: 100%;
  max-width: 416px;
  margin: 0 auto;
  padding: 30px 28px;
  background: rgba(17, 24, 39, 0.78);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.login-form-side .auth-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.45), transparent);
  border-radius: 1px;
}
.login-form-side .auth-card .card-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 6px;
}
.auth-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.login-form-side .auth-card .admin-form { display: flex; flex-direction: column; gap: 12px; }
.login-form-side .auth-card .form-group { margin-bottom: 0; }
.login-form-side .auth-card .input {
  background: var(--bg-tertiary);
  padding: 12px 16px;
  font-size: 16px;
  border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.login-form-side .auth-card .input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .16);
}
.login-form-side .auth-card .btn {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
  overflow: visible;
}
.login-form-side .auth-card .btn::before { display: none; }
.login-form-side .auth-card .btn-block {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.auth-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-footer a { color: var(--accent); font-weight: 600; text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }
.terms-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-secondary);
}
.terms-label input {
  margin-top: 3px;
  width: auto;
  flex-shrink: 0;
  accent-color: var(--accent);
}
@media (max-width: 1100px) {
  .login-wrap { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .login-form-side { padding: 40px; }
}
@media (max-width: 768px) {
  .login-form-side { padding: 28px 20px 40px; }
  .login-form-side .auth-card { padding: 26px 22px; }
}
@media (max-width: 480px) {
  .login-form-side { padding: 20px 16px 32px; }
  .login-form-side .auth-card { padding: 22px 18px; }
  .auth-brand { font-size: 28px; }
}
