body {
  font-family: 'Poppins', sans-serif;
  background-color: #f3f8fc;
  margin: 0;
  padding: 0;
}

.page-wrapper main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 70vh;
  width: 100%;
  padding: 20px;
}


.login-wrapper {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px 50px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.login-wrapper h1 {
  font-size: 28px;
  color: #002f5c;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
}

.login-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
}

.login-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  color: #333;
}

.password-container {
  position: relative;
}

.password-toggle {
  position: absolute;
  top: 35%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #444;
}

.login-btn {
  background-color: #528fc8;
  color: white;
  padding: 14px;
  width: 100%;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-btn:hover {
  background-color: #00386e;
}

.forgot-password {
  margin-top: 12px;
  text-align: center;
}

.forgot-password a {
  color: #004b91;
  text-decoration: underline;
  font-weight: 500;
}

.error-msg {
  color: #dc2626;
  background-color: #ffecec;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1rem;
  border: 1px solid #fca5a5;
}

.register-link {
  text-align: center;
  margin-top: 10px;
}

.register-link a {
  color: #004f9f;
  font-weight: 500;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}


@media (max-width: 768px) {
  .login-wrapper {
    padding: 30px 20px;
  }
}
