:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  min-height: 100vh;
  margin: 0;
  place-items: center;
  overflow: hidden;
  color: #f4f6f8;
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 40, 65, 0.09), transparent 30%),
    #07090e;
}

body::before,
body::after {
  position: fixed;
  width: 440px;
  height: 440px;
  content: "";
  border: 1px solid rgba(255, 51, 71, 0.08);
  border-radius: 50%;
}

body::before {
  top: -250px;
  left: -180px;
}

body::after {
  right: -230px;
  bottom: -250px;
}

.login-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    linear-gradient(#fff 1px, transparent 1px),
    linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 54px 54px;
}

main {
  position: relative;
  z-index: 1;
  width: min(430px, calc(100vw - 36px));
}

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

.login-brand img {
  width: 45px;
  height: 36px;
  object-fit: contain;
  filter: grayscale(0.5) drop-shadow(0 0 9px rgba(255, 51, 71, 0.42));
}

.login-brand div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.login-brand strong {
  font-size: 13px;
  letter-spacing: 0.12em;
}

.login-brand span {
  color: #ff6574;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

section {
  padding: 38px;
  border: 1px solid rgba(255, 51, 71, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 51, 71, 0.045), transparent 35%),
    #10131b;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.5);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.access-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ff6675;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.access-status i,
footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3347;
  box-shadow: 0 0 8px #ff3347;
}

h1 {
  margin: 17px 0 9px;
  font-size: 27px;
  letter-spacing: -0.04em;
}

section > p {
  margin: 0;
  color: #7c8594;
  font-size: 12px;
  line-height: 1.6;
}

form {
  display: grid;
  margin-top: 29px;
  gap: 17px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: #8d96a5;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(124, 139, 168, 0.18);
  border-radius: 3px;
  outline: 0;
  color: white;
  background: #090c12;
  font: inherit;
  font-size: 13px;
}

input:focus {
  border-color: rgba(255, 51, 71, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 51, 71, 0.06);
}

button {
  display: flex;
  height: 48px;
  margin-top: 5px;
  padding: 0 17px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 105, 119, 0.55);
  color: white;
  background: linear-gradient(105deg, #ad172a, #ff3347);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.message {
  min-height: 16px;
  margin: -4px 0 0;
  color: #ff7180;
  text-align: center;
  font-size: 10px;
}

footer {
  display: flex;
  margin-top: 19px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #555f70;
  font-size: 7px;
  letter-spacing: 0.13em;
}

footer i {
  width: 5px;
  height: 5px;
  background: #55dda0;
  box-shadow: 0 0 7px #55dda0;
}
