#page-login {
  position: fixed;
  inset: 0;
  background: #555;
  z-index: 300;
}

#login-wrapper {
  position: fixed;
  z-index: 10;
  background: #000000;
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.login-mac-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2.5rem;
  padding: 0 0.75rem;
  background: #1a1a1a;
  border-bottom: 1px solid #2e2e2e;
  flex-shrink: 0;
}

.mac-dots {
  display: flex;
  gap: 0.5rem;
}

.mac-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
}
.mac-dot--red {
  background: #ff5f56;
}
.mac-dot--yellow {
  background: #ffbd2e;
}
.mac-dot--green {
  background: #27c93f;
}

.mac-addressbar {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  background: #2a2a2a;
  border-radius: 0.25rem;
  padding: 0.125rem 0.75rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.6rem;
  color: #5EAF74;
}
.mac-addressbar i {
  font-size: 0.6rem;
}

.mac-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #03624C;
  font-size: 0.6rem;
}

.login-content {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.login-left {
  flex: 0 0 55%;
  background: linear-gradient(180deg, #1a0a2e 0%, #0d0520 40%, #000000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.login-left::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(155, 77, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.login-left-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.5rem;
}
.login-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.login-brand h1 {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}
.login-brand p {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 18rem;
}

.login-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 20rem;
}

.login-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  background: #1e1e1e;
  transition: background 200ms ease;
}

.login-step--active {
  background: #FFFFFF;
}
.login-step--active .login-step-num {
  background: #000000;
  color: #FFFFFF;
}
.login-step--active .login-step-text {
  color: #000000;
  font-weight: 600;
}

.login-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: #2e2e2e;
  color: #5EAF74;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
}

.login-step-text {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  color: #5EAF74;
  font-weight: 500;
}

.login-right {
  flex: 0 0 45%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-form-wrap {
  width: 100%;
  max-width: 26rem;
}
.login-form-wrap h2 {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.125rem;
}

.login-subtitle {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.6rem;
  color: #8a8a8a;
  margin-bottom: 1.25rem;
}

.login-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.login-social-btn {
  background: transparent;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
  padding: 0.5rem 0.75rem;
  background: #171717;
  border: 1px solid #2e2e2e;
  border-radius: 1rem;
  color: #FFFFFF;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
}
.login-social-btn:hover {
  background: #222;
  border-color: #444;
}
.login-social-btn i {
  font-size: 0.875rem;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.login-divider::before, .login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #2e2e2e;
}
.login-divider span {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.6rem;
  color: #8a8a8a;
}

#login-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.login-row {
  display: flex;
  gap: 0.75rem;
}
.login-row .login-field {
  flex: 1;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  position: relative;
}
.login-field label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5EAF74;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
  line-height: 1;
}
.login-field input, .login-field textarea {
  background: #171717;
  border: 1px solid #2e2e2e;
  border-radius: 0.5rem;
  color: #F1F7F7;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.login-field input::placeholder, .login-field textarea::placeholder {
  color: rgba(241, 247, 247, 0.3);
}
.login-field input:focus, .login-field textarea:focus {
  border-color: #2CC295;
  box-shadow: 0 0 0 2px rgba(44, 194, 149, 0.15);
}
.login-field input {
  width: 100%;
}
.login-field--password input {
  padding-right: 2.5rem;
}

.login-eye {
  background: transparent;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  color: #8a8a8a;
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 200ms ease;
}
.login-eye:hover {
  color: #FFFFFF;
}

.login-hint {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.6rem;
  color: #8a8a8a;
}

.login-submit {
  background: transparent;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3rem;
  background: #FFFFFF;
  color: #000000;
  border-radius: 1rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease, box-shadow 200ms ease;
}
.login-submit:hover {
  background: #e5e5e5;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.login-bottom-text {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.6rem;
  color: #8a8a8a;
  text-align: center;
  margin-top: 1rem;
}
.login-bottom-text a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  transition: color 200ms ease;
}
.login-bottom-text a:hover {
  color: #00DF82;
}