/* Standalone sign-in page (signin.php).
   Self-contained: does not depend on login.css, style.css or bootstrap, so the
   page stays light and cannot be broken by the site-wide stylesheets.
   Design tokens copied from the existing login modal: orange #ff6f00 header
   bar, blue #2792ee submit, 45px inputs with 1px #ccc / 4px radius. */

.signin-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
  background: #eef1f5;
  font-family: "Lato", Arial, sans-serif;
  color: #333;
}

.signin-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.signin-card-head {
  background: #ff6f00;
  color: #fff;
  text-align: center;
  padding: 16px 20px;
  font-family: "Montserrat", "Lato", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.signin-card-body {
  padding: 28px 30px 30px 30px;
}

.signin-logo {
  display: block;
  width: 85%;
  max-width: 260px;
  height: auto;
  margin: 0 auto 20px auto;
}

.signin-msg {
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 22px;
  min-height: 24px;
}

.signin-msg .err  { color: #d93025; }
.signin-msg .ok   { color: #1e8e3e; }
.signin-msg .warn { color: #b06000; font-weight: 700; }

.signin-field {
  margin-bottom: 16px;
}

.signin-field input {
  box-sizing: border-box;
  width: 100%;
  height: 45px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
  outline: none;
}

.signin-field input:focus {
  border-color: #2792ee;
}

/* captcha + OTP rows: input and adornment share one bordered box, mirroring
   the .input-group pattern in css/custom.css */
.signin-group {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px;
  margin-bottom: 16px;
}

.signin-group input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  height: 35px;
  padding: 0 7px;
  font-size: 15px;
  font-family: inherit;
}

.signin-group .captcha-image {
  height: 38px;
  width: auto;
  max-width: 100px;
  cursor: pointer;
  flex: 0 0 auto;
  border-radius: 3px;
}

.signin-group .resend-otp {
  flex: 0 0 auto;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #2792ee;
  padding: 0 8px;
  white-space: nowrap;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05);
}

.btn-signin {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  margin-top: 6px;
  border: 1px solid #388ad0;
  background: #2792ee;
  border-radius: 4px;
  color: #fff;
  font-family: "Montserrat", "Lato", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-signin:hover:not(:disabled) { background: #1c82db; }
.btn-signin:disabled { opacity: 0.65; cursor: default; }

.signin-hint {
  margin: 14px 0 0 0;
  font-size: 13px;
  line-height: 19px;
  color: #777;
  text-align: center;
}

.signin-foot {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
}

.signin-foot a {
  color: #777;
  text-decoration: none;
}

.signin-foot a:hover { color: #ff6f00; }

.is-hidden { display: none !important; }

@media (max-width: 600px) {
  .signin-body { padding: 16px 12px; }
  .signin-card-body { padding: 22px 18px 24px 18px; }
  .signin-msg { font-size: 15px; }
}
