:root {
  color-scheme: dark;
  --card: #0d1824;
  --line: #22384c;
  --text: #edf7ff;
  --muted: #8ea5ba;
  --green: #45e39a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #000;
  color: var(--text);
  font:
    14px/1.5 system-ui,
    sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
}
.login-shell {
  width: min(940px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border: 1px solid #274058;
  border-radius: 28px;
  overflow: hidden;
  background: #0c1b2bdd;
  box-shadow: 0 30px 90px #0009;
  backdrop-filter: blur(14px);
}
.login-visual {
  padding: 52px;
  background: linear-gradient(145deg, #102b48cc, #0d3a34bb);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.logo {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: linear-gradient(145deg, #2563eb, #10b981);
  display: grid;
  place-items: center;
  font-size: 25px;
  box-shadow: 0 14px 35px #0007;
}
.eyebrow {
  color: #43e69a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.login-visual h1 {
  font-size: 38px;
  line-height: 1.08;
  margin: 22px 0 14px;
  letter-spacing: -0.03em;
}
.online {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b9cfdf;
}
.online i,
.led {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}
.login-form {
  padding: 58px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-form h2 {
  font-size: 27px;
  margin: 0 0 6px;
}
.sub {
  color: var(--muted);
  margin-bottom: 28px;
}
.field {
  margin-bottom: 17px;
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 750;
  color: #b9ccdc;
  margin-bottom: 7px;
}
.field input {
  width: 100%;
  border: 1px solid #2a455f;
  border-radius: 13px;
  background: #071522;
  color: var(--text);
  padding: 13px 14px;
  font: 16px system-ui;
  outline: none;
}
.field input:focus {
  border-color: #43e69a;
  box-shadow: 0 0 0 3px #43e69a1d;
}
.hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.primary {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 13px;
  padding: 14px;
  background: linear-gradient(135deg, #16a873, #39d799);
  color: #04140e;
  font-weight: 850;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 12px 30px #10b98135;
}
.error {
  min-height: 40px;
  color: #ff9bab;
  font-size: 13px;
}
.secure {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
header {
  height: 72px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  background: #05090eeb;
  backdrop-filter: blur(12px);
}
.head {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.head .logo {
  width: 205px;
  height: 62px;
  border-radius: 0;
  background: url("/assets/medwed-horizontal.png?v=3") center / contain no-repeat;
  font-size: 0;
  box-shadow: none;
}
.head .brand > strong,
.head .brand > div:not(.logo) {
  display: none;
}
.muted {
  color: var(--muted);
}
.user {
  display: flex;
  gap: 10px;
  align-items: center;
}
.logout {
  border: 1px solid var(--line);
  background: #101d29;
  color: var(--text);
  padding: 8px 11px;
  border-radius: 10px;
}
.layout {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 50px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav a {
  color: var(--muted);
  padding: 11px 13px;
  border-radius: 11px;
}
.nav a.active {
  background: #132536;
  color: var(--text);
  box-shadow: inset 3px 0 var(--green);
}
.nav small {
  padding: 18px 13px 5px;
  color: #62778b;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 18px;
}
.title h1 {
  margin: 0;
  font-size: 27px;
}
.label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  font-weight: 800;
}
.link {
  display: flex;
  align-items: center;
  gap: 9px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 15px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 20px;
  box-shadow: 0 15px 38px #0007;
}
.span12 {
  grid-column: span 12;
}
.big {
  font-size: 31px;
  font-weight: 820;
  margin-top: 7px;
}
@media (max-width: 760px) {
  .head .logo {
    width: 156px;
    height: 52px;
  }
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-visual {
    min-height: 230px;
    padding: 30px;
  }
  .login-visual h1 {
    font-size: 29px;
  }
  .login-form {
    padding: 36px 28px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .nav {
    flex-direction: row;
  }
  .nav small {
    display: none;
  }
  .user span {
    display: none;
  }
}
