@font-face {
  font-family: 'Fixedsys Excelsior';
  src: url('../FixedsysExcelsior.ttf') format('truetype');
}

body {
  margin: 0;
  font-family: 'Fixedsys Excelsior', monospace;
  -webkit-font-smoothing: antialiased;
  color: #000;
}

#wrapper {
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: url('../img/login_wallaper.jpg') no-repeat center center fixed;
background-size: cover;
}

#content {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}

#loginWrap {
width: 450px;
max-width: 90vw;
background: rgba(255, 255, 255, 0.25);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.6);
border-radius: 0px 0px 4px 4px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.8);
color: #000;
padding: 30px;
position: relative;
}

/* Заголовок окна (Aero) */
#loginWrap::before {
content: "вход в систему";
display: block;
position: absolute;
top: -30px;
left: -1px;
right: -1px;
height: 30px;
background: linear-gradient(to bottom, rgb(6 80 185 / 70%), rgb(95 154 225 / 70%));
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.5);
border-bottom: none;
border-radius: 8px 8px 0 0;
color: #000;
font-size: 14px;
font-weight: bold;
text-align: center;
line-height: 30px;
text-shadow: 0 0 5px #fff;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

/* Имитация красного крестика в углу */
#loginWrap::after {
content: "X";
position: absolute;
top: -30px;
right: 0;
width: 30px;
height: 30px;
background: linear-gradient(to bottom, #e81123, #b3000c);
color: #fff;
text-align: center;
line-height: 30px;
font-size: 14px;
border-radius: 0 8px 0 0;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

#name {
margin: 10px 0;
font-size: 18pt;
font-weight: bold;
text-align: center;
color: #000000;
text-shadow: 0 1px 1px #fff;
}

#cc {
display: flex;
flex-direction: column;
justify-content: center;
margin-bottom: 20px;
}

#hint {
margin: 5px 0;
color: #333;
font-size: 11pt;
text-align: center;
min-height: 18px;
}

#inputWrap {
display: flex;
flex-direction: column;
gap: 15px;
}

.login-input {
  height: 36px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #7a7a7a;
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
  background: #fff;
  color: #000;
  outline: none;
  padding: 5px 10px;
  font-size: 12pt;
  font-family: 'Fixedsys Excelsior', monospace;
}

.login-input:focus {
  border-color: #3c7fb1;
  box-shadow: 0 0 3px rgba(60, 127, 177, 0.5), inset 0 1px 2px rgba(0,0,0,0.1);
}

#enter {
height: 40px;
width: 100%;
border-radius: 4px;
background: linear-gradient(to bottom, #f0f0f0, #d0d0d0);
border: 1px solid #7a7a7a;
box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,0.3);
cursor: pointer;
color: #000;
font-weight: bold;
font-size: 14px;
margin-top: 10px;
font-family: 'Fixedsys Excelsior', monospace;
transition: all 0.1s;
}

#enter:hover {
background: linear-gradient(to bottom, #e0f0ff, #b0d0f0);
border-color: #3c7fb1;
}

#enter:active {
background: linear-gradient(to bottom, #c0d0e0, #a0b0c0);
box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}

#toggle-mode {
color: #0b3d6e !important;
font-size: 10pt;
text-align: center;
margin-top: 15px;
display: block;
text-decoration: underline;
cursor: pointer;
}

#toggle-mode:hover {
color: #000 !important;
}
