﻿:root {
  --bg: #050607;
  --muted: #727272;
}

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  overflow: hidden;
}

#cosmos {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.brand {
  position: fixed;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  background: rgba(5, 6, 7, 0.35);
  backdrop-filter: blur(6px);
  transition: transform 120ms ease, border-color 120ms ease;
  z-index: 2;
}

.brand__logo {
  width: 22px;
  height: 22px;
  display: block;
}

.name_service {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.auth-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(360px, calc(100vw - 48px));
  padding: 22px 24px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.auth-card__brand {
  font-size: 18px;
  text-align: center;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.auth-card__version {
  margin-top: 8px;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.auth-card__divider {
  height: 1px;
  margin: 14px 0 18px;
  background: #0f0f0f;
  width: 40%;
  border-radius: 14px;
  justify-self: center;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form__label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-form__input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #0f0f0f;
  background: #0a0a0a48;
  color: #ffffff;
  outline: none;
  font-size: 14px;
}

.auth-form__submit {
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #0f0f0f;
  background: #ffffff;
  color: #0a0a0a;
  font-weight: 600;
  cursor: pointer;
  transition: transform 120ms ease;
  width: 60%;
  justify-self: center;
}

.auth-card__note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
  justify-self: center;
}
