@import url('https://fonts.googleapis.com/css?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; */
}

/* === Page layout === */
body {
  display: flex;    
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background-color: white;
}

/* === Logo (if used above form) === */
.logo {
  width: 380px;
  height: 130px;
  background-color: #fff;
  background: url('images/logo.png') no-repeat;
  border: 2px solid rgba(255, 255, 255, .2);
  color: #fff;
  border-radius: 12px;
  padding: 30px 40px;
  background-size: cover;
  background-position: center;
}

/* === Login form container === */
.wrapper {
  width: 360px;
  background: #0E2B6A;
  border: 2px solid rgba(255, 255, 255, .2);
  color: #fff;
  border-radius: 12px;
  padding: 30px 40px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* === Title inside form === */
.wrapper h1 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
  color: ghostwhite;
}

/* === Input fields === */
.wrapper .input-box {
  position: relative;
  width: 100%;
  height: 50px;
  margin: 25px 0;
}

.input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 40px;
  font-size: 16px;
  color: #fff;
  padding: 20px 45px 20px 20px;
}

.input-box input::placeholder {
  color: #fff;
}

.input-box i {
  position: absolute;
  right: 20px; 
  top: 50%; 
  transform: translateY(-50%);
  font-size: 20px;
}

/* === Button === */
.wrapper .btn {
  width: 100%;
  height: 45px;
  margin: 30px 0;
  background: #fff;
  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;
  transition: all 0.3s ease;
}

.wrapper .btn:hover {
  background: #06BCC1;
  color: white;
}

/* === RESPONSIVENESS === */

/* Laptop (≤1366px) */
@media (max-width: 1366px) and (min-width: 1121px) {
  .wrapper {
    width: 400px;
    padding: 30px;
  }
}

/* Tablet (≤1024px) */
@media (max-width: 1120px) and (min-width: 980px) {
  .wrapper {
    width: 340px;
    padding: 25px;
  }

  .wrapper h1 {
    font-size: 28px;
  }
}

/* Large phones / small tablets (≤768px) */
@media (max-width: 980px) {
  body {
    padding: 20px;
  }

  .wrapper {
    width: 80%;
    padding: 25px;
  }

  .wrapper h1 {
    font-size: 26px;
  }

  .input-box input {
    font-size: 15px;
  }
}

