/* =========================================================
   LOGIN & REGISTER PAGE - MATCHING PROTOTYPE DESIGN
   ========================================================= */

.bs-auth-page-wrap {
  width: 100% !important;
  padding: 40px 16px; 
  font-family: 'Montserrat', Arial, sans-serif;
  box-sizing: border-box;
}

/* The large rounded grey box */
.bs-auth-outer-bg {
  max-width: 900px !important;
  margin: 0 auto !important;
  background-color: #f6f6f6; /* Light grey from prototype */
  border-radius: 16px;
  padding: 50px 20px;
  box-sizing: border-box;
}

/* Titles placed outside the white card */
.bs-auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.bs-auth-subtitle {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 400;
  color: #333;
}

.bs-auth-header h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: #111;
}

/* The white card containing the forms */
.bs-auth-inner-card {
  width: 100% !important;
  max-width: 520px !important; 
  margin: 0 auto !important; 
  padding: 40px; 
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  box-sizing: border-box;
}

.bs-auth-form {
  margin: 0;
}

/* Form Fields Layout */
.bs-auth-row {
  display: flex;
  gap: 16px;
}

.bs-auth-row .bs-auth-field {
  width: 50%;
}

.bs-auth-field {
  margin-bottom: 22px;
}

.bs-auth-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

/* Inputs - Increased height and text size for readability */
.bs-auth-field input {
  width: 100%;
  height: 48px; 
  padding: 0 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  font-size: 15px; 
  color: #111;
  box-sizing: border-box;
  font-family: 'Montserrat', Arial, sans-serif;
  outline: none;
  transition: all 0.2s ease;
}

.bs-auth-field input:focus {
  border-color: #f2cc00;
  box-shadow: 0 0 0 2px rgba(242, 204, 0, 0.15);
}

.bs-auth-field input::placeholder {
  color: #b3a9bd;
}

/* Password Eye Icon */
.bs-password-wrapper {
  position: relative;
}
.bs-password-wrapper input {
  padding-right: 44px;
}
.bs-eye-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* Forgot Password link */
.bs-auth-link-row {
  margin: -6px 0 24px;
  text-align: left;
}

.bs-auth-link-row a {
  color: #007bff; /* Bright blue */
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

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

/* Checkbox */
.bs-auth-checkbox {
  margin: 8px 0 16px;
}

.bs-auth-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px; 
  color: #333;
  font-weight: 500;
}

.bs-auth-checkbox input[type="checkbox"] {
  width: 16px; 
  height: 16px;
  margin: 0;
  accent-color: #007bff;
}

/* Note/Disclaimer text */
.bs-auth-note {
  margin: 0 0 24px;
  font-size: 13px; 
  line-height: 1.5;
  color: #888;
}

.bs-auth-note strong {
  color: #555;
}

/* Yellow Submit Button */
.bs-auth-submit {
  text-align: center;
  margin-top: 10px;
}

.bs-gold-btn {
  display: block !important;
  width: 100% !important;
  max-width: 280px !important; 
  margin: 0 auto !important; 
  height: 48px !important; 
  border-radius: 6px !important;
  background: #f2cc00 !important; /* Yellow */
  color: #111 !important;
  border: none !important;
  font-size: 16px !important; 
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}

.bs-gold-btn:hover {
  opacity: 0.9 !important;
}

/* Bottom Footer (Login/Register toggle) */
.bs-auth-footer {
  margin-top: 30px;
  text-align: center;
}

.bs-auth-footer-text {
  font-size: 15px; 
  color: #333;
  font-weight: 500;
}

.bs-auth-footer-text span {
  display: block;
  margin-bottom: 4px;
}

.bs-auth-footer-text a {
  color: #00a4e4; 
  text-decoration: none;
  font-weight: 700;
  display: block;
}

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

/* Error/Success Messages */
.bs-auth-message {
  max-width: 100%;
  margin: 0 auto 20px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px; 
  text-align: center;
}

.bs-auth-message.bs-error {
  background: #fff1f1;
  border: 1px solid #f1c2c2;
  color: #b42318;
}

.bs-auth-message.bs-success {
  background: #eefbf3;
  border: 1px solid #b7ebc8;
  color: #067647;
}

/* Responsive constraints */
@media (max-width: 767px) {
  .bs-auth-outer-bg {
    padding: 30px 16px;
  }
  .bs-auth-inner-card {
    padding: 24px 20px; 
  }
  .bs-auth-row {
    flex-direction: column;
    gap: 0;
  }
  .bs-auth-row .bs-auth-field {
    width: 100%;
  }
  .bs-auth-header h2 {
    font-size: 24px; 
  }
}