.fullscreen-center {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(62, 207, 142, 0.06), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 0;
  position: relative;
  z-index: 10;
  border-radius: 12px;
  background: #ffffff !important;
  box-shadow: var(--shadow-md);
}

.auth-shell {
  display: block;
}

.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
}

.auth-form-panel {
  padding: 36px;
  background: #ffffff;
}

.auth-form-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}

.auth-form-wrap h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.auth-form-wrap > p {
  margin-bottom: 28px;
  font-size: 0.92rem;
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.55rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 3rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-main);
  font-size: 0.96rem;
  font-family: var(--font-family);
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--accent-hover);
  box-shadow: 0 0 0 4px rgba(62, 207, 142, 0.12);
}

.form-control::placeholder {
  color: var(--text-faint);
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-faint);
  font-size: 1.15rem;
  transition: color 0.3s ease;
  pointer-events: none;
}

.form-control:focus ~ .input-icon,
.form-group:focus-within .input-icon {
  color: var(--accent-hover);
}

.login-btn {
  width: 100%;
  font-size: 0.96rem;
  padding: 0.95rem 1rem;
  border-radius: 6px;
  background: var(--accent-primary);
  color: var(--text-main);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.login-btn:hover {
  background: var(--accent-hover);
}

.login-btn:active {
  transform: translateY(0);
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 2rem;
}

.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.auth-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-primary);
}

.auth-link {
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-footer-note {
  margin-top: 20px;
  color: var(--text-faint);
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 576px) {
  .fullscreen-center {
    padding: 1rem;
  }

  .login-card {
    max-width: 100%;
    border-radius: 12px;
  }

  .auth-form-panel {
    padding: 24px;
  }

  .auth-form-wrap h2 {
    font-size: 1.6rem;
  }
}
