* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #042045, #1C4D8D);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
}


/* WRAPPER */
.login-wrapper {
  width: 100%;
  max-width: 380px;
}

/* CARD */
.login-card {
  background: #fff;
  padding: 28px 26px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,.15);
  max-height: calc(100vh - 32px);
    overflow-y: auto;


}

/* TITLE */
.login-card h2 {
  margin: 0;
  text-align: center;
  font-size: 22px;
}

.subtitle {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin: 8px 0 22px;
}

/* FORM */
.form-group {
  margin-bottom: 16px;
}

label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #444;
}

input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 14px;
}

input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}

/* BUTTON */
button {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: #1C4D8D;
  color: white;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: .2s;
}

button:hover {
  background: #0560d8;
}

/* FOOTER */
.footer {
  margin-top: 16px;
  text-align: center;
}

.footer a {
  font-size: 13px;
  color: #1C4D8D;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* MESSAGE */
#registerMsg {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
  color: #dc2626;
}

/* 📱 MOBILE */
@media (max-width: 480px) {
  body {
    align-items: flex-start;
    padding-top: 80px;
  }

  .login-card {
    max-height: calc(100vh - 48px);
  }
}

