.andrzej-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(900px 480px at 20% -10%, rgba(95, 149, 255, 0.08), transparent 70%),
    radial-gradient(760px 420px at 100% 100%, rgba(249, 214, 108, 0.08), transparent 72%),
    #000;
  color: #f4f6fb;
}

.andrzej-login__panel {
  width: min(390px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(24, 26, 33, 0.96), rgba(12, 14, 18, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 48px rgba(0, 0, 0, 0.46);
}

.andrzej-login__icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 34px rgba(249, 214, 108, 0.16);
}

.andrzej-login__eyebrow {
  margin: 2px 0 -8px;
  color: rgba(244, 246, 251, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.andrzej-login h1 {
  margin: 0 0 2px;
  font-size: 2rem;
  letter-spacing: 0;
}

.andrzej-login__form {
  width: 100%;
  display: grid;
  gap: 12px;
}

.andrzej-login__field {
  display: grid;
  gap: 7px;
  color: rgba(244, 246, 251, 0.78);
  font-size: 0.84rem;
  font-weight: 700;
}

.andrzej-login__field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0 14px;
  background: rgba(7, 8, 11, 0.78);
  color: #f4f6fb;
  font: inherit;
  font-size: 1rem;
  outline: none;
}

.andrzej-login__field input:focus {
  border-color: rgba(249, 214, 108, 0.58);
  box-shadow: 0 0 0 3px rgba(249, 214, 108, 0.12);
}

.andrzej-login__button {
  min-height: 50px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe680, #f2bd43);
  color: #17140a;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(242, 189, 67, 0.22);
}

.andrzej-login__button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.andrzej-login__spinner {
  display: none;
}

.andrzej-login__button.is-loading .andrzej-login__button-label {
  visibility: hidden;
}

.andrzej-login__button.is-loading .andrzej-login__spinner {
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(23, 20, 10, 0.22);
  border-top-color: #17140a;
  animation: andrzej-login-spin 0.85s linear infinite;
}

.andrzej-login__error {
  min-height: 1.2em;
  margin: 0;
  color: #ff8b92;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

@keyframes andrzej-login-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 460px) {
  .andrzej-login {
    padding: 16px;
  }

  .andrzej-login__panel {
    padding: 22px;
    border-radius: 16px;
  }

  .andrzej-login__icon {
    width: 82px;
    height: 82px;
  }
}
