/* OS 2000 — Boot + Login screen styles */

#boot {
  position: absolute;
  inset: 0;
  background: #000;
  color: #c0c0c0;
  font-family: var(--font-fixed);
  font-size: 14px;
  z-index: 5000;
  padding: 18px 22px;
  overflow: hidden;
}
#boot .post {
  white-space: pre-wrap;
  line-height: 1.35;
}
#boot .splash {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, #000 0%, #0a1a3a 45%, #0a1a3a 80%, #000 100%);
}
#boot.splash-on .post { display: none; }
#boot.splash-on .splash { display: flex; }

.splash-logo {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 60px;
}
.splash-flag svg { display: block; }
.splash-text {
  color: #fff;
  font-family: var(--font-ui);
}
.splash-text .mini { font-size: 14px; letter-spacing: 1px; }
.splash-text .big {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin: 3px 0 4px;
  font-family: var(--font-display);
}
.splash-text .big .twok { font-weight: 900; }
.splash-text .pro { font-size: 38px; font-weight: 900; font-style: italic; letter-spacing: -0.5px; line-height: 1; font-family: var(--font-display); }
.splash-text .tag { font-size: 12px; margin-top: 8px; opacity: 0.85; font-style: italic; }

.splash-progress {
  width: 280px;
  height: 14px;
  background: #000;
  border: 1px solid #fff;
  position: relative;
  overflow: hidden;
}
.splash-progress::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: linear-gradient(90deg, #3a6ea5, #6aa9d6, #3a6ea5);
  background-size: 24px 100%;
  animation: splash-bar 0.9s linear infinite;
}
@keyframes splash-bar {
  from { background-position: 0 0; }
  to   { background-position: 24px 0; }
}
.splash-foot {
  position: absolute;
  bottom: 30px;
  color: #fff;
  font-size: 12px;
  opacity: 0.8;
  font-family: var(--font-ui);
  text-align: center;
}

/* ===== LOGIN — Windows 2000 Professional "Log On to Windows" ===== */
#login {
  position: absolute;
  inset: 0;
  background: var(--c-desktop);   /* solid #3a6ea5, like the real logon */
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-win {
  width: 420px;
  background: var(--c-bg);
  box-shadow: var(--bevel-raised);
  padding: 3px;
}
.login-win .titlebar { height: 18px; }
.login-win .titlebar-title { font-size: 11px; }

/* White banner with a faint blue-grey watercolour wash behind the logo */
.login-banner {
  position: relative;
  margin: 3px 0 0;
  padding: 10px 14px 12px;
  border: 1px solid var(--c-shadow);
  border-bottom: none;
  background:
    radial-gradient(150% 130% at 32% 78%, rgba(150,180,170,0.30) 0%, rgba(190,205,210,0.12) 34%, rgba(255,255,255,0) 62%),
    #ffffff;
  overflow: hidden;
}
/* Italic "Microsoft" in the top-right corner */
.lb-msft-tr {
  position: absolute;
  top: 7px; right: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.3px;
  color: #000;
}
.lb-logo { display: flex; align-items: center; gap: 6px; }
.lb-flag { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 100px; }
.lb-flag svg { display: block; }
.lb-flag-img { display: block; width: 96px; height: auto; }

.lb-words { font-family: var(--font-display); color: #000; line-height: 1; }
.lb-words .lb-msft { font-size: 11px; font-weight: 700; margin: 0 0 1px 4px; }
.lb-words .reg { font-size: 7px; vertical-align: super; font-weight: 400; }
.lb-winrow { display: flex; align-items: flex-start; }
.lb-windows { font-size: 41px; font-weight: 800; letter-spacing: -1.6px; }
.lb-windows .reg { font-size: 10px; vertical-align: top; line-height: 1; }
.lb-2000 { font-size: 27px; font-weight: 500; letter-spacing: -1px; margin: 2px 0 0 5px; }
.lb-pro {
  font-size: 28px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -1px;
  margin-top: -5px;
}
.lb-tag {
  font-size: 11px;
  font-weight: 400;
  margin-top: 2px;
  text-align: center;
}
.lb-tag b { font-weight: 800; }

/* The blue gradient divider bar under the banner */
.login-bluebar {
  height: 6px;
  border: 1px solid var(--c-shadow);
  border-top: none;
  background: linear-gradient(90deg,
    #003153 0%, #2e6f93 27%, #aacbe0 50%, #2e6f93 73%, #003153 100%);
  position: relative;
  overflow: hidden;
}
/* While "Loading your personal settings…", a light highlight sweeps the bar. */
.login-bluebar.loading::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -45%;
  width: 45%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(210,235,255,0.95) 50%, rgba(255,255,255,0) 100%);
  animation: login-loadbar 1.15s linear infinite;
}
@keyframes login-loadbar {
  from { left: -45%; }
  to   { left: 100%; }
}

/* "Loading your personal settings…" strip (shown after OK). */
.login-loading {
  background: var(--c-bg);
  padding: 14px 16px 16px;
  font-size: 11px;
  color: #000;
}

.login-form {
  padding: 16px 16px 10px;
  background: var(--c-bg);
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 9px 10px;
  align-items: center;
}
.login-form label { font-size: 11px; text-align: left; }
.login-form input[type="text"],
.login-form input[type="password"] {
  padding: 3px 5px;
  font-size: 11px;
  width: 100%;
}
.login-form .full { grid-column: 2 / 3; }   /* dial-up checkbox sits under the inputs */
.login-form .login-dialup .os-label { font-size: 11px; }

.login-buttons {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 4px 14px 14px;
}
.login-buttons .btn { min-width: 76px; height: 24px; }
