/* =========================================
   1. RESET & BASE
   ========================================= */
/* container */
.login-container {
  position: relative;
  max-width: 470px;
  width: 100%;
  height: 394px;
  padding: 30px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

/* wrapper */
.login-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-wrapper::before {
  content: "";
  position: absolute;
  top: 4vh;
  left: 5vw;
  right: 5vw;
  bottom: 4vh;
  background-image: url(/imgbb/background_auth.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 30px;
  z-index: 0;
}

/* =========================================
   2. Form
   ========================================= */
.form-signin {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.form-signin h2 {
  text-align: center;
  font-weight: 700;
  color: #58595b;
  margin: 0;
}

.form-login {
  min-width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.form-login label {
  position: absolute;
  top: -10px;
  left: 60px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 0 5px;
  font-size: 14px;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 2;
  text-align: right;
  font-weight: 600;
  color: #333;
}

.form-login input {
  border: 0;
  border-radius: 6px;
  display: block;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-clip: padding-box;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-c {
  min-height: 56px;
  color: #495057;
}

/* =========================================
   3. Input
   ========================================= */
.input-flex-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid black;
  border-radius: 0.25rem;
  background-color: transparent;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
}

.input-flex-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  background-color: transparent;
}

/* =========================================
   4. BTN
   ========================================= */
.btn-login {
  width: 70%;
  color: white;
  background-color: gray;
  cursor: pointer;
}

.btn-login:hover {
  color: black;
  background-color: rgb(137, 191, 237);
  border-color: rgb(52, 107, 171);
}

/* =========================================
   5. Toggle
   ========================================= */
.toggle-password {
  background: url(/imgbb/eye-on.png) no-repeat center;
  background-size: 20px 20px;
  width: 24px;
  height: 24px;
  border: none;
  cursor: pointer;
  background-color: transparent;
  margin-right: 5px;
}

.toggle-password.active {
  background-image: url(/imgbb/eye-off.png);
}
