@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@300;400&display=swap');
 
  * { box-sizing: border-box; margin: 0; padding: 0; }
 
  body {
    height: 100vh;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
  }
 
  /* center panel */
  .login-panel {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 320px;
  }
 
  @keyframes flicker {
    0%   { opacity: 1; }
    50%  { opacity: 0.93; }
    100% { opacity: 1; }
  }
 
  .bg {
    position: fixed;
    inset: 0;
    background-image: url('MSI_MPG.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: flicker 0.07s infinite;
  }
 
  /* avatar box — the square icon from Win2008 */
  .avatar-box {
    width: 110px;
    height: 110px;
    background: #c8cdd2;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow:
      0 0 0 3px rgba(100,130,160,0.5),
      0 0 0 5px rgba(255,255,255,0.2),
      0 8px 24px rgba(0,0,0,0.4);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(80,90,100,0.4);
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
 
  /* username / label above inputs */
  .username-label {
    color: white;
    font-size: 13px;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    margin-bottom: 6px;
    align-self: flex-start;
    letter-spacing: 0.02em;
  }
 
  /* input row — input + arrow button side by side */
  .input-row {
    display: flex;
    width: 100%;
    margin-bottom: 8px;
    gap: 4px;
  }
 
  .input-row input {
    flex: 1;
    height: 28px;
    padding: 0 8px;
    background: white;
    border: 1px solid #7a9cbf;
    border-radius: 2px;
    font-size: 13px;
    font-family: inherit;
    color: #222;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.15);
  }
 
  .input-row input:focus {
    border-color: #4a80c0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.15), 0 0 0 1px #4a80c0;
  }
 
  /* the blue arrow button */
  .arrow-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #1a6abf;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: filter 0.1s;
  }
 
  .arrow-btn:hover { filter: brightness(1.15); }
  .arrow-btn:active { filter: brightness(0.9); }
 
  .arrow-btn svg {
    width: 14px;
    height: 14px;
    fill: white;
  }
 
  /* "Log on to:" line */
  .logon-to {
    color: white;
    font-size: 12px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    margin-top: 2px;
    text-align: center;
  }
 
  .logon-to a {
    color: #cce4ff;
    text-decoration: underline;
    cursor: pointer;
    font-size: 11px;
  }
 
  /* hint text */
  .hint {
    color: rgba(255,255,255,0.65);
    font-size: 10px;
    margin-top: 4px;
    text-align: center;
    font-style: italic;
  }
 
  /* error */
  #error {
    color: #ffcccc;
    font-size: 12px;
    margin-top: 8px;
    text-align: center;
    min-height: 18px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  }
 

  /* Windows logo bottom */
  .win-logo {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
  }
 
  .win-logo img {
    height: 40px;
    width: auto;
  }
 
  .win-text {
    color: white;
    font-size: 13px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    line-height: 1.2;
  }
 
  .win-text span {
    font-size: 10px;
    display: block;
    letter-spacing: 0.05em;
  }
 
  /* overlay lockout */
  .overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
    background: rgba(180, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
 
  .overlay-box {
    border: 1px solid #c0392b;
    color: #ffdddd;
    padding: 24px 36px;
    font-size: 14px;
    cursor: pointer;
    background: rgba(0,0,0,0.85);
    text-align: center;
    box-shadow: 0 0 40px rgba(200,0,0,0.3);
    font-family: inherit;
    max-width: 380px;
    line-height: 1.6;
  }
 
  .overlay-box .dismiss {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    color: #888;
  }