/* ==========================================================================
   LOGIN PAGE STYLES (scoped — safe for login.aspx master page)
   Does not reset body/header/footer or alter existing site CSS.
   ========================================================================== */

:root {
  --font-heading: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-primary: #00d2ff;
}

.login-main-section .text-cyan,
.login-portal-panel .text-cyan {
  color: #00CCF5 !important;
}

.login-main-section {
  font-family: var(--font-body);
}

.login-main-section .container.login-page-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Play nicely inside existing .content wrapper from master page */
.content > .login-main-section,
div.content .login-main-section {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.login-page-body {
  background-color: #f8fafc;
}

.login-main-section {
  padding: 35px 0 75px 0;
  background-color: #f8fafc;
}

.login-page-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Breadcrumbs & Status Bar */
.login-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.login-breadcrumbs {
  font-size: 0.84rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.login-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.login-breadcrumbs a:hover {
  color: #0284c7;
}

.bc-sep {
  color: #94a3b8;
  font-size: 0.95rem;
}

.bc-current {
  color: #071728;
  font-weight: 700;
}

.login-server-status {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  border-radius: 9999px;
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
}

/* Main Dual Login Card */
.login-card-wrapper {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 45px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  align-items: stretch;
}

/* Left Column: Patron Portal Info */
.login-portal-panel {
  background-color: #01162B;
  color: #ffffff;
  padding: 46px 38px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: radial-gradient(circle at 80% 20%, rgba(0, 204, 245, 0.16) 0%, transparent 65%);
}

.portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 204, 245, 0.12);
  border: 1px solid rgba(0, 204, 245, 0.35);
  color: #00CCF5;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 9999px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.portal-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.portal-desc {
  font-size: 0.86rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 30px;
}

.portal-features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.portal-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.portal-feat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 204, 245, 0.15);
  color: #00CCF5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.portal-feat-icon svg {
  width: 16px;
  height: 16px;
}

.portal-feat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portal-feat-text strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.portal-feat-text span {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

/* Testimonial Box */
.portal-quote-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: auto;
}

.quote-stars-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.quote-stars {
  color: #f59e0b;
  font-size: 0.92rem;
  letter-spacing: 2px;
}

.quote-stars-label {
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 600;
}

.quote-content {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #cbd5e1;
  font-style: italic;
  margin-bottom: 10px;
}

.quote-author-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  color: #00CCF5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Right Column: Sign In Form */
.login-form-panel {
  padding: 46px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.member-access-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #475569;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
}

.auth-id-text {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 600;
}

.login-form-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: #071728;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
  line-height: 1.25;
}

.login-form-subtitle {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #64748b;
  margin-bottom: 26px;
}

.login-field-group {
  margin-bottom: 18px;
}

.field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

.login-field-label {
  color: #071728;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.required-star {
  color: #ef4444;
}

.field-hint {
  color: #94a3b8;
  font-weight: 500;
}

.forgot-pwd-link {
  color: #0284c7;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.75rem;
  transition: color 0.2s;
}

.forgot-pwd-link:hover {
  color: #00CCF5;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  display:none !important;
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
}
input.login-input.Text{
  width: 500px !important;
}
.login-input {
  width: 100% !important;
  height: 48px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0 46px 0 46px;
  font-size: 0.88rem;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-input:focus {
  border-color: #00CCF5;
  box-shadow: 0 0 0 3px rgba(0, 204, 245, 0.15);
  outline: none;
}

.pwd-toggle-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.pwd-toggle-btn:hover {
  color: #0f172a;
}

/* Checkbox & MFA Row */
.login-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 0.82rem;
}

.remember-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #475569;
  font-weight: 500;
  user-select: none;
}

.custom-checkbox {
  display: none;
}

.checkbox-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid #cbd5e1;
  border-radius: 5px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.custom-checkbox:checked + .checkbox-box {
  background: #00CCF5;
  border-color: #00CCF5;
}

.custom-checkbox:checked + .checkbox-box::after {
  content: "✓";
  color: #071728;
  font-size: 0.72rem;
  font-weight: 900;
}

.biometric-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #059669;
  font-size: 0.76rem;
  font-weight: 700;
}

/* Submit Button */
.btn-login-submit {
  width: 100%;
  height: 50px;
  background: #00CCF5;
  color: #071728;
  border: none;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 204, 245, 0.4);
  transition: all 0.25s ease;
  margin-bottom: 14px;
}

.btn-login-submit:hover {
  background: #00b4d8;
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(0, 204, 245, 0.55);
}

.submit-arrow {
  transition: transform 0.2s ease;
}

.btn-login-submit:hover .submit-arrow {
  transform: translateX(4px);
}

/* Secondary Actions */
.login-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.btn-login-alt {
  height: 44px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}

.btn-reset-pwd {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}

.btn-reset-pwd:hover {
  background: #e2e8f0;
}

.btn-create-acct {
  background: #071728;
  color: #ffffff;
}

.btn-create-acct:hover {
  background: #0f2744;
}

/* Help Alert Box */
.login-help-box {
  background: #f0f9fd;
  border: 1px solid #bae6fd;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.help-box-icon {
  width: 22px;
  height: 22px;
  color: #0284c7;
  flex-shrink: 0;
  margin-top: 1px;
}

.help-box-icon svg {
  width: 100%;
  height: 100%;
}

.help-box-title {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  color: #071728;
  margin-bottom: 4px;
}

.help-box-desc {
  font-size: 0.78rem;
  line-height: 1.5;
  color: #475569;
  margin: 0;
}

.help-box-contact-row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.74rem;
  color: #475569;
}

.help-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #0284c7;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.76rem;
}

.help-phone-link:hover {
  color: #00CCF5;
}

/* Bottom Trust Bar */
.login-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-dot {
  color: #cbd5e1;
}

/* Responsive Breakpoints for Login */
@media (max-width: 900px) {
  .login-card-wrapper {
    grid-template-columns: 1fr;
  }

  .login-portal-panel {
      order: 2;
    padding: 36px 28px;
  }

  .login-form-panel {
      order: 1;
    padding: 36px 28px;
  }

  .login-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .login-portal-panel {
    padding: 28px 20px;
  }

  .login-form-panel {
    padding: 28px 20px;
  }

  .login-secondary-actions {
    grid-template-columns: 1fr;
  }

  .login-options-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .login-trust-bar {
    flex-direction: column;
    gap: 8px;
  }

  .trust-dot {
    display: none;
  }
}
