/* Login Page Styles */
.loginRoot {
  min-height: 100vh;
  background: #080c17;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.loginRoot::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 30%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.loginRoot::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.loginCard {
  width: 100%;
  max-width: 420px;
  background: #0f1628;
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

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

.loginLogo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.loginLogoIcon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.loginLogoText {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #f1f5f9;
}

.loginLogoText span {
  color: #6366f1;
}

.loginTitle {
  font-size: 22px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.loginSubtitle {
  font-size: 14px;
  color: #64748b;
}

.loginForm {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.formGroup {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.formLabel {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.formInput {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  background: rgba(8, 12, 23, 0.7);
  color: #e2e8f0;
  font-size: 14px;
  font-family: var(--font-sans);
  transition: all 0.2s;
  outline: none;
}

.formInput:focus {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.formInput::placeholder {
  color: #334155;
}

.submitBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.submitBtn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
}

.submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.errorMsg {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
  font-size: 13px;
}

.loginFooter {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  text-align: center;
  font-size: 12px;
  color: #334155;
}

.backLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6366f1;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}

.backLink:hover {
  color: #a5b4fc;
}
