/* ===== BODY BACKGROUND ===== */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(to right, #141e30, #243b55);
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== CARD CONTAINER ===== */
.login-box {
  width: 100%;
  max-width: 340px;
  margin: 0 20px;
  background: #ffffff;
  padding: 30px 22px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  text-align: center;
}

/* ===== LOGO ===== */
.logo {
  width: 120px;
  margin-bottom: 12px;
}

/* ===== TITLE ===== */
.login-box h1 {
  margin: 6px 0;
  color: #243b55;
  font-size: 20px;
  font-weight: 600;
}

/* ===== SUBTITLE ===== */
.subtitle {
  margin-bottom: 20px;
  color: #666;
  font-size: 14px;
}

/* ===== INPUT & SELECT (SAME HEIGHT FIX) ===== */
input,
select {
  width: 90%;
  height: 48px;                 /* 🔥 FORCE SAME HEIGHT */
  padding: 0 12px;              /* Horizontal padding only */
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  box-sizing: border-box;
}

/* ===== SELECT ANDROID FIX ===== */
select {
  line-height: 48px;            /* 🔥 KEY FIX */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Custom arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}

/* ===== DATE INPUT COLOR FIX ===== */
input[type="date"] {
  color: #555;
}

/* ===== FOCUS EFFECT ===== */
input:focus,
select:focus {
  outline: none;
  border-color: #243b55;
  box-shadow: 0 0 6px rgba(36,59,85,0.4);
}

/* ===== BUTTON ===== */
button {
  width: 95%;
  height: 50px;
  margin-top: 18px;
  background: #243b55;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #141e30;
}

/* ===== LINK TEXT ===== */
.link-text {
  margin-top: 18px;
  font-size: 14px;
}

.link-text a {
  color: #243b55;
  text-decoration: none;
  font-weight: 500;
}

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

/* ===== DESKTOP OPTIMIZATION ===== */
@media (min-width: 768px) {

  .login-box {
    max-width: 420px;
    padding: 40px 30px;
  }

  .logo {
    width: 140px;
  }

  .login-box h1 {
    font-size: 24px;
  }

  .subtitle {
    font-size: 15px;
  }

  input,
  select {
    height: 52px;
    font-size: 16px;
  }

  select {
    line-height: 52px;
  }

  button {
    height: 54px;
    font-size: 17px;
  }
}