* {
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background-image: url('BackgroundDef.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.login-screen {
  width: 100%;
  height: 100%;
  position: relative;
  text-align: center;
}

.login-card {
  position: absolute;
  margin-top: 150px;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
}

.avatar img {
  width: 5;
  height: 5;
  border-radius: 5;
  box-shadow: 0 0 25px rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
}

.username {
  margin-top: 14px;
  font-size: 26px;
  letter-spacing: 1px;
  color: white;
}

.password-wrapper {
  margin-top: 20px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 6px;
  backdrop-filter: blur(6px);
}

.password-wrapper input {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  padding: 8px;
  width: 180px;
  font-size: 14px;
}

.password-wrapper input::placeholder {
  color: rgba(255,255,255,0.7);
}

.icon {
  margin: 0 8px;
  opacity: 0.7;
  cursor: pointer;
}

.submit {
  background: rgba(255,255,255,0.3);
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.submit:hover {
  background: rgba(255,255,255,0.45);
}

.footer-text {
  margin-top: 14px;
  font-size: 11px;
  opacity: 0.75;
}

 .error {
      margin-top: 10px;
      font-size: 12px;
      color: #ffd6d6;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .error.show {
      opacity: 1;
    }
    
.version {
  position: absolute;
  bottom: 16px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  opacity: 0.7;
}
