@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  background: url("../img/back.png") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Dark overlay for contrast */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* Wrapper */
.login-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glass Card */
.form_container {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  padding: 40px 35px;
  border-radius: 15px;
  width: 370px;
  box-shadow: 0 0 20px rgba(224, 223, 224, 0.3);
  text-align: center;
  color: #fff;
}

/* Logo and Title */
.logo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 25px;
}

.logo-header img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.logo-header h2 {
  color: #fff;
  font-weight: 600;
  font-size: 22px;
}

/* Input box */
.input_box {
  position: relative;
  margin-top: 25px;
  width: 100%;
}

.input_box input {
  width: 100%;
  padding: 10px 35px;
  border: none;
  border-bottom: 2px solid #aaa;
  background: transparent;
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: 0.3s;
}

.input_box input:focus {
  border-color: #060506;
}

.input_box i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #bbb;
}

.input_box i.email,
.input_box i.password {
  left: 5px;
}

.input_box i.pw_hide {
  right: 5px;
  cursor: pointer;
  color: #bbb;
}

/* Button */
.button {
  width: 100%;
  margin-top: 30px;
  padding: 10px;
  background: linear-gradient(135deg, #050506, #060506);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(180, 179, 181, 0.4);
}

#errorMsg {
  color: #ff7373;
  font-size: 13px;
  margin-top: 12px;
}
