html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
}

.login-page {
  min-height: 100vh;
  background-image: url("../images/login-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 28px;
  box-sizing: border-box;
}

.login-card,
.pin-card {
  width: 100%;
  max-width: 620px;
  background: rgba(255,255,255,0.94);
  border-radius: 26px;
  padding: 42px;
  text-align: center;
  box-shadow: 0 22px 55px rgba(0,0,0,0.2);
}

.login-logo,
.pin-logo {
  max-width: 280px;
  width: 70%;
  margin: 0 auto 20px;
}

.login-card h1,
.pin-card h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 18px;
  margin-bottom: 28px;
  color: #333;
}

.input-box {
  height: 62px;
  border: 1px solid #ddd;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  margin: 10px 0 20px;
  background: #fff;
}

.input-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
}

label {
  display: block;
  text-align: left;
  font-weight: 800;
  margin-top: 18px;
}

.fake-signin,
#pinBtn {
  width: 100%;
  height: 64px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(180deg, #d00000, #a80000);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.forgot {
  text-align: right;
  color: #b00000;
  font-weight: 800;
  margin-bottom: 20px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
}

.divider span {
  flex: 1;
  height: 1px;
  background: #ddd;
}



#pinError {
  margin-top: 16px;
  color: #b00000;
  font-weight: 800;
  min-height: 22px;
}

.login-status,
.help-text {
  margin-top: 14px;
  color: #666;
  font-weight: 700;
}



.google-signin-wrapper {
    width: 100%;
    margin-top: 18px;

    display: flex;
    justify-content: center;
}

.google-signin-wrapper > div {
    width: 100%;
    display: flex;
    justify-content: center;
}

.google-signin-wrapper iframe {
    width: 100% !important;
    max-width: 520px !important;
    border-radius: 14px !important;
}