@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #e0e0e0;
  /* background: url('OG.jpeg') no-repeat center center; */
  /* background: url('bg_image.png') no-repeat center center fixed; */
  background-size: cover;
  overflow: hidden;
}
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  backdrop-filter: blur(4px); /* Controls blur intensity */
  background: rgba(255, 255, 255, 0.05); /* Optional soft overlay */
  z-index: 0;
}
.wrapper {
  position: relative;
  z-index: 1;
  width: 420px;
  max-width: 95vw;
  background: rgba(255, 255, 255, 0.1); /* Glass effect */
  border: 2px solid rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  color: #131212;
  border-radius: 10px;
  padding: 30px 40px;
  box-sizing: border-box;
}
/* Responsive styles for mobile devices */
@media (max-width: 600px) {
  .wrapper {
    width: 100%;
    max-width: 100vw;
    padding: 20px 10px;
    border-radius: 0;
    min-height: 100vh;
    box-shadow: none;
    border: none;
  }
  .wrapper h1 {
    font-size: 28px;
  }
  .input-box input {
    font-size: 15px;
    padding: 16px 40px 16px 16px;
  }
  .wrapper .btn {
    height: 40px;
    font-size: 15px;
  }
  .wrapper .remember-forgot {
    font-size: 13px;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .register-link p, .register-link {
    font-size: 13px;
  }
}
.wrapper h1 {
  font-size: 36px;
  text-align: center;
}
.wrapper .input-box {
  position: relative;
  width: 100%;
  height: 50px;
  margin: 30px 0;
}
.input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  border: 2px solid rgba(0, 0, 0, .2);
  border-radius: 40px;
  font-size: 16px;
  color: #1f1e1e;
  padding: 20px 45px 20px 20px;
}
.input-box input::placeholder {
  color: #161515;
}
.input-box i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #0f0f0f;
}
.wrapper .remember-forgot {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  margin: -15px 0 15px;
}
.remember-forgot label input {
  accent-color: #313030;
  margin-right: 3px;
}
.remember-forgot a {
  color: #0f0f0f;
  text-decoration: none;
}
.remember-forgot a:hover {
  text-decoration: underline;
}
.wrapper .btn {
  width: 100%;
  height: 45px;
  background: #5e5d5d;
  border: none;
  outline: none;
  border-radius: 40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  cursor: pointer;
  font-size: 16px;
  color: white;
  font-weight: 600;
  transition: background 0.3s ease;
}
.wrapper .btn:hover {
  background: #4fb5f083;
}
.wrapper .register-link {
  font-size: 14.5px;
  text-align: center;
  margin: 20px 0 15px;
}
.register-link p a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.register-link p a:hover {
  text-decoration: underline;
}
.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: 5% auto;
    padding: 40px;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
    max-height: 80vh;           /* Limit height */
    overflow-y: auto;           /* Enable vertical scroll */
}
