/* Glassmorphism Auth Styles */
#auth-view {
  position: relative;
}

#auth-view::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("../wallpaper.jpg"), #000;
  background-position: center;
  background-size: cover;
  z-index: -1;
}

#auth-view .card-bg {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.input-field-glass {
  position: relative;
  border-bottom: 2px solid #ccc;
  margin: 15px 0;
}

.input-field-glass label {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: #fff;
  font-size: 16px;
  pointer-events: none;
  transition: 0.15s ease;
}

.input-field-glass input {
  width: 100%;
  height: 40px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  color: #fff;
}

/* Fix autocomplete white background */
.input-field-glass input:-webkit-autofill,
.input-field-glass input:-webkit-autofill:hover,
.input-field-glass input:-webkit-autofill:focus,
.input-field-glass input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px transparent inset !important;
  -webkit-text-fill-color: #fff !important;
  transition: background-color 5000s ease-in-out 0s;
  background-color: transparent !important;
}

.input-field-glass input:focus~label,
.input-field-glass input:valid~label {
  font-size: 0.8rem;
  top: 10px;
  transform: translateY(-120%);
}

.glass-button {
  background: #fff;
  color: #000;
  font-weight: 600;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 16px;
  border: 2px solid transparent;
  transition: 0.3s ease;
  width: 100%;
}

.glass-button:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}
