.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top right, var(--bg-tertiary), var(--bg-primary));
  position: relative;
  overflow: hidden;
}

/* Subtle background decoration */
.login-wrapper::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(124, 138, 170, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.login-wrapper::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.login-card {
  width: 100%;
  max-width: 400px;
  padding: 40px;
  position: relative;
  z-index: 10;
  animation: fadeIn 0.6s ease-out forwards;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.login-logo-fallback {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-info);
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-primary));
  border: 1px solid var(--border-subtle);
}

.login-header h1 {
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.login-header .subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper > i,
.input-wrapper > svg {
  position: absolute;
  left: 16px;
  color: var(--text-tertiary);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px 14px 48px;
  color: var(--text-primary);
  font-size: 15px;
  transition: all 0.2s;
  outline: none;
}

.input-wrapper input:focus {
  border-color: var(--accent-info);
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.1);
}

.toggle-password-btn {
  position: absolute;
  right: 12px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-password-btn:hover {
  color: var(--text-secondary);
}

.toggle-password-btn i,
.toggle-password-btn svg {
  width: 18px;
  height: 18px;
}

.login-btn {
  width: 100%;
  padding: 12px;
  margin-top: 12px;
  font-size: 15px;
  letter-spacing: 1px;
}

.error-message {
  color: var(--accent-danger);
  font-size: 12px;
  text-align: center;
  margin-bottom: 16px;
  display: none;
  background: rgba(248, 113, 113, 0.1);
  padding: 8px;
  border-radius: 6px;
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.login-footer {
  text-align: center;
  margin-top: 32px;
  font-size: 12px;
  color: var(--text-tertiary);
}
