@font-face {
    font-family: 'Lato';
    src: url('../Lato-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* #chromeFix {
    display: block;
    position: absolute;
    width: 1px;
    height: 100%;
    bottom: 0px;
    left: 0px;
} */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('../../images/lg_eGate_background.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

.wrapper {
    width: 420px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    color: white;
    border-radius: 10px;
    padding: 30px 40px;
    position: relative;
}

.wrapper h1 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 12px 0;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    padding-left: 50px;
    color: white;
    font-size: 16px;
    outline: none;
}

.input-box input::placeholder {
    color: #eee;
}

.input-box .icon {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    opacity: 0.8;
    pointer-events: none;
}

/* .wrapper .remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    margin: 10px 0 20px;
}

.remember-forgot label input {
    accent-color: white;
    margin-right: 5px;
}

.remember-forgot a {
    color: white;
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
} */

.wrapper .btn {
    width: 100%;
    height: 45px;
    background-color: white;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

/* Caps Lock -alert */
#alert {
    visibility: hidden;
    font-size: 12px;
    color: red;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-out, margin 0.3s ease-out;
}

#alert[style*="visibility: visible"] {
    height: auto;
    margin-top: 10px;
    margin-bottom: 5px;
}

.lang-settings {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100;
}

.language-icon {
  position: relative;
  display: inline-block;
}

.language-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  cursor: pointer;
}

.lang-dropdown {
  position: absolute;
  top: 36px;
  right: 0;
  display: none;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  white-space: nowrap;
}

.lang-dropdown form {
  display: flex;
  flex-direction: column;
}

.lang-dropdown button {
  background: none;
  border: none;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  color: #333;
  text-align: left;
}

.lang-dropdown button:hover {
  background-color: #eee;
}

.lang-settings-inside {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}
