* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #101010;
  color: #fff;
  overflow: hidden;
}

.login-app {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background:
    radial-gradient(circle at top, rgba(13,110,253,.18), transparent 35%),
    linear-gradient(180deg, #151515, #0f0f0f);
}

.login-card {
  width: 100%;
  max-width: 390px;
  background: rgba(26,26,26,.92);
  border: 1px solid #2f2f2f;
  border-radius: 28px;
  padding: 30px 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
  animation: cardIn .35s ease-out;
}

.login-logo-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.login-logo {
  max-width: 230px;
  height: auto;
  filter: brightness(0) invert(1);
}

h1 {
  margin: 0;
  font-size: 25px;
  text-align: center;
  font-weight: 800;
}

.subtitle {
  text-align: center;
  color: #aaa;
  margin: 8px 0 28px;
  font-size: 14px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #d0d0d0;
  font-size: 14px;
  font-weight: 600;
}

.field input {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  border: 1px solid #3a3a3a;
  background: #202020;
  color: #fff;
  padding: 0 16px;
  font-size: 16px;
  outline: none;
}

.field input::placeholder {
  color: #777;
}

.field input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 4px rgba(13,110,253,.18);
}

.login-btn {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 17px;
  background: #0d6efd;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  margin-top: 8px;
  box-shadow: 0 12px 26px rgba(13,110,253,.25);
}

.login-btn:active {
  transform: scale(.98);
}

.version {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #777;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}