*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background: #0a0a12;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-style: italic;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: rgba(8, 8, 18, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  width: 100%;
  max-width: 380px;
  margin: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.login-title {
  font-size: 1.75rem;
  font-weight: 700;
  font-style: italic;
  color: #ff2d9b;
  text-shadow: 0 0 18px rgba(255, 45, 155, 0.8);
  text-align: center;
  letter-spacing: 0.04em;
}

.login-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  letter-spacing: 0.06em;
  margin-top: -1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
}

.field-input {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  font-style: italic;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
  font-style: normal;
}

.field-input:focus {
  border-color: rgba(0, 245, 255, 0.6);
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.2);
}

.login-error {
  font-size: 0.8rem;
  color: #ff2d9b;
  text-shadow: 0 0 8px rgba(255, 45, 155, 0.6);
  text-align: center;
  letter-spacing: 0.04em;
}

.login-btn {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  font-family: inherit;
  letter-spacing: 0.08em;
  border: 1.5px solid #39ff14;
  border-radius: 0.5rem;
  background: transparent;
  color: #39ff14;
  cursor: pointer;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.25), inset 0 0 14px rgba(57, 255, 20, 0.05);
  transition: box-shadow 0.2s, transform 0.1s;
}

.login-btn:active {
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.5), inset 0 0 24px rgba(57, 255, 20, 0.1);
  transform: scale(0.97);
}

.login-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
