body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #eaf1f5;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;   /* Full viewport height */
  overflow: hidden;    /* Prevent scroll */
}

.container {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  width: 320px;
  text-align: center;
}
.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  width: 93%!important;
}

.password-wrapper i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #555;
}

.logo_div {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.logo {
  width: 80px;
  height: 80px;
}

h2 {
  margin-bottom: 10px;
  margin-top: -10px;
  color: #333;
}

.input-group {
  display: flex;
  gap: 10px;
}
.input-group, input {
  width: 100%;
  border-radius: 6px;
}

input {
  width: 93%!important;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.btn {
  width: 100%;
  padding: 12px;
  background: #D32A31;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}
.btn:hover {
  background: #f0262c;
}

p {
  margin-top: 12px;
  font-size: 14px;
}

a {
  color: #D32A31;
  text-decoration: none;
}

#message {
  margin-top: 10px;
  font-weight: bold;
}

/* Mobile */
@media (max-width: 480px) {
  body {
    padding: 10px;
  }
  .container {
    padding: 18px;
    max-width: 95%;
    margin-top: -50px!important;
  }
  .input-group {
    flex-direction: column;
    gap: 0;
  }
  input {
    font-size: 14px;
    width: 100%;   /* fix for small screens */
  }
  .btn {
    font-size: 15px;
    padding: 10px;
  }
  h2 {
    font-size: 20px;
  }
}

/* Tablets */
@media (min-width: 481px) and (max-width: 768px) {
  .container {
    max-width: 420px;
    padding: 22px;
    margin-top: -50px!important;
  }
  h2 {
    font-size: 22px;
  }
  input {
    font-size: 15px;
  }
  .btn {
    font-size: 16px;
  }
}

/* Desktops */
@media (min-width: 769px) {
  .container {
    max-width: 400px;
  }
}
