/* ======================
   ClubHub Login Page CSS
   ====================== */

body {
  background-color: #f5f5f5;
  margin: 0; padding: 0;
  min-height: 100vh;
  width: 100vw;
  overflow-x: hidden;
}
.login-bg-wrapper {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}
.banner {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: url('../images/login-img.jpg') no-repeat center center;
  background-size: cover;
  z-index: 0;
}
.login-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.login-logo img {
  width: 300px;
  height: 300px;
  max-width: 90vw;
  max-height: 30vh;
  object-fit: contain;
  margin-bottom: 24px;
}
.login-card {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  background: #f4f6f8;
  border-radius: .7rem;
  box-shadow: 0 4px 32px 0 rgba(44, 62, 80, 0.14), 0 1.5px 6px rgba(60,60,100,0.10);
  position: relative;
  z-index: 2;
}
footer {
  font-size: 0.8rem;
  position: relative;
  z-index: 2;
  margin-top: 40px;
  margin-bottom: 12px;
}
@media (max-width: 600px) {
  .login-logo img { width: 90px; height: 90px; margin-bottom: 14px; }
  .login-card { padding: 1.2rem 0.6rem; }
}

/* Placeholder color for all browsers */
.form-control::placeholder { color: rgba(108,117,125,0.7) !important; }
.form-control::-webkit-input-placeholder { color: rgba(108,117,125,0.7) !important; }
.form-control::-moz-placeholder { color: rgba(108,117,125,0.7) !important; }
.form-control:-ms-input-placeholder { color: rgba(108,117,125,0.7) !important; }
.form-control::-ms-input-placeholder { color: rgba(108,117,125,0.7) !important; }

/* Primary button color to match rest of the app */
.btn-primary {
  background-color: #4789B5 !important;
  border-color: #4789B5 !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #386d93 !important;
  border-color: #386d93 !important;
}

/* Softer password toggle inside input */
#togglePassword {
  color: rgba(33, 37, 41, 0.55) !important; /* text-muted-ish */
  border-color: rgba(33, 37, 41, 0.2) !important;
  background-color: transparent !important;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
  min-width: 2.25rem; /* make click target wider */
}
#togglePassword:hover,
#togglePassword:focus {
  color: rgba(33, 37, 41, 0.7) !important;
  border-color: rgba(33, 37, 41, 0.3) !important;
  background-color: rgba(33, 37, 41, 0.03) !important;
  box-shadow: none !important;
}
#togglePassword .bi {
  color: inherit !important;
}

/* Consistent width for other password toggles used on reset/account pages when login.css is included */
.toggle-password {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
  min-width: 2.25rem; /* ensure the eye button isn’t too narrow */
}
