/* 1st Source login clone — fills SPA runtime gaps only; theme.css is source of truth */

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

/* Photo background on body.login-body (theme paints it at min-width 1035px; force always) */
body.safe-area.login-body {
  background: url("images/common/login-bg.jpg") no-repeat center center fixed !important;
  background-size: cover !important;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: #292c2e;
}

/* Angular host components as block */
online-app, ol-page, ol-page-content, ol-page-header-actions,
ol-form-group, ol-button-group, ol-container, ol-container-content,
disclaimer-footer, spinner-component, alert-component, bank-form { display: block; }

/* Auth shell */
.auth-page-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.auth-page-wrapper .auth-content-holder { flex-grow: 1; display: flex; flex-direction: column; align-items: center; }

/* White card — theme exact: 57.1428571429em @ 12px = 685.7px */
.auth-content-wrapper {
  background-color: #fff;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.2);
  width: 57.1428571429em;
  max-width: 96vw;
  min-height: 680px;
  margin: 7.1428571429em auto;
  padding-bottom: 1.4285714286em;
  position: relative;
  height: auto;
}

/* ===== Logo strip (top of card) ===== */
.logo-container {
  padding-top: 2.8571428571em;
  padding-bottom: 4.2857142857em; /* +10px gap before LOGIN */
  text-align: center;
}
.logo-container .logo-image {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
.logo-container .logo-image img.logo-auth {
  height: auto;
  width: auto;
  padding: 5px;
  display: block;
}

/* FDIC row: seal + text side by side, centered below flame */
.logo-container .fdic-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 8px 10px 0;
}
.logo-container .fdic-row img.fdic-logo-auth { height: 15px; width: auto; }
.logo-container .fdic-row img.fdic-logo-auth-text { height: 16px; width: auto; }

/* ===== Login section ===== */
#main-section.login-section { margin-top: 0; }

/* Page header — #fafafa band, ALL content centered */
section.login-section .page-header {
  box-shadow: none;
  background-color: #fafafa;
  border: 0;
  margin: 0 auto;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center !important;
  width: 100%;
  max-width: 685px;
  box-sizing: border-box;
}
/* "LOGIN" page title — 2x size, all caps */
section.login-section .page-header h2.page-title {
  font-size: 2em;
  font-weight: 600;
  color: #292c2e;
  text-align: center !important;
  text-transform: none;
  margin: 0 auto 8px;
  margin: 0 auto 8px;
  line-height: 1.3;
  letter-spacing: 1px;
}
section.login-section .page-header-required-fields {
  color: #858a90;
  font-size: 1.0833333333em;
  text-align: center !important;
  display: block !important;
  margin: 0 auto 12px;
  width: fit-content;
}
section.login-section .page-header-required-fields .required-indicator::before {
  color: red;
  content: "*";
  display: inline-block;
  font-weight: 600;
  padding-right: 4px;
}
section.login-section .page-header .page-headline {
  display: block;
  margin: 0 auto;
  max-width: 36em;
  color: #858a90;
  font-size: 1.0833333333em;
  font-weight: 400;
  line-height: 1.5;
  text-align: center !important;
}
section.login-section .page-header .application-container { margin: 0; width: 100% !important; }

/* Form content */
section.login-section .page-content.application-container {
  margin: 0;
  width: 100% !important;
  padding: 15px;
  box-sizing: border-box;
}

/* Form group — flex layout per theme */
section.login-section .form-group {
  background-color: #fff;
  margin-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}
ol-form-group { display: block; margin-bottom: 21px; padding: 0; }
section.login-section .form-label {
  color: #292c2e;
  text-align: right;
  padding-top: 7px;
  padding-right: 15px;
  padding-left: 15px;
  font-weight: 600;
  font-size: 12px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
section.login-section .form-label.col-sm-5 { width: 41.66666667%; }
section.login-section .form-input { padding: 0; box-sizing: border-box; }
section.login-section .form-input.col-sm-7 { width: 58.33333333%; padding-left: 15px; padding-right: 15px; }

/* Inputs — 19em wide, underline only */
section.login-section input.form-control {
  width: 19em !important;
  max-width: 100%;
  height: 31px;
  padding: 6px 12px 6px 0;
  font-size: 12px;
  font-size: 12px;
  line-height: 1.428571429;
  color: #292c2e;
  background-color: #fff;
  border: 0;
  border-bottom: 1px solid #cfd4da;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}
section.login-section input.form-control:focus { border-bottom-color: #434c5b; box-shadow: none; }
section.login-section .input-required_marker { color: red; font-weight: 600; padding-left: 3px; }

/* Button group centered */
section.login-section ol-button-group,
section.login-section .button-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding-top: 1.4285714286em;
  padding-bottom: 1.4285714286em;
}

/* Access Accounts button — exact reference: 142x37, #434c5b */
section.login-section #btnLogin.btn.btn-main {
  width: 11.8333333333em;   /* 142px @ 12px */
  height: 3.0833333333em;   /* 37px @ 12px */
  background-color: #434c5b;
  border: 0;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 3.0833333333em;
  padding: 0;
  outline: none;
  text-align: center;
  cursor: pointer;
}
section.login-section #btnLogin.btn.btn-main:hover { background-color: #262b33; color: #fff; }
section.login-section #btnLogin.btn.btn-main .button-label {
  display: inline !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 1.1666666667em;
}
section.login-section a#btnForgotPassword {
  font-weight: 600;
  color: #e55725 !important;
  text-decoration: none;
  font-size: 12px;
}
section.login-section a#btnForgotPassword:hover { text-decoration: underline; }
.forgot-row { text-align: center; padding-top: 4px; padding-bottom: 8px; }

/* Footer bar — full width, #262b33 */
.auth-page-wrapper .footer-block {
  align-self: flex-end;
  width: 100%;
  background-color: #262b33;
  margin-top: auto;
}
.footer-block .footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-block .footer-left { flex: 1; }
.footer-block .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-block .footer-links li a {
  color: #c8cdd2;
  font-size: 11px;
  font-weight: 400;
  text-decoration: none;
}
.footer-block .footer-links li a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-block .copyright-text {
  color: #858a90;
  font-size: 10.5px;
  margin-top: 6px;
}
.footer-block .footer-right img {
  height: 28px;
  width: auto;
}

/* Responsive */
@media (max-width: 1034px) {
  .auth-content-wrapper { width: 100%; max-width: 100%; min-height: auto; margin: 0; box-shadow: none; }
  section.login-section .form-label.col-sm-5, section.login-section .form-input.col-sm-7 { width: 100%; text-align: left; justify-content: flex-start; }
  section.login-section input.form-control { width: 100% !important; }
  .logo-container { background-color: #292c2e; padding-top: 1.0714285714em; padding-bottom: 1.0714285714em; }
  .hidden-xs { display: none !important; }
  .visible-xs { display: inline-block !important; }
}
@media (min-width: 1035px) {
  .visible-xs { display: none !important; }
  .hidden-xs { display: inline-block !important; }
}

/* clearfix for flex rows */
.form-group.row::after { content: ""; display: table; clear: both; }

/* Alerts */
.alert-block { max-width: 30em; margin: 10px auto 0; }
.alert-danger { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; padding: 10px 12px; border-radius: 4px; font-size: 12px; }

/* == Component Library — all page components consolidated == */
.txn-card{background:#fff;border-radius:8px;border:1px solid #e0e3e7;overflow:hidden;max-width:480px;margin:0 auto 20px}
.txn-card-header{background:#262b33;color:#fff;padding:14px 20px;font-size:13px;font-weight:600;display:flex;justify-content:space-between}
.badge-pending{background:#ffc107;color:#000;padding:2px 10px;border-radius:12px;font-size:10px;font-weight:700;text-transform:uppercase}
.txn-row{display:flex;justify-content:space-between;padding:12px 20px;border-bottom:1px solid #f2f2f2;font-size:13px}
.txn-label{color:#68757c;font-size:12px}.txn-value{font-weight:600;color:#292c2e}
.txn-amount-lg{font-size:22px;font-weight:700;color:#262b33}
.upload-zone{border:2px dashed #b0b8c0;border-radius:8px;padding:40px 20px;text-align:center;cursor:pointer;max-width:360px;margin:0 auto 20px;background:#fafbfc}
.upload-zone:hover{border-color:#262b33;background:#f0f2f5}
.clickfix-card{background:#fff;border-radius:8px;border:1px solid #e0e3e7;overflow:hidden;max-width:520px;margin:0 auto 20px}
.cf-header{background:#262b33;color:#fff;padding:14px 20px;font-size:13px;font-weight:600;display:flex;align-items:center;gap:10px}
.cf-body{padding:24px 28px}
.cf-step{display:flex;gap:14px;margin-bottom:22px;align-items:flex-start}
.cf-step-num{width:28px;height:28px;background:#262b33;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex-shrink:0}
.kbd-row{display:inline-flex;align-items:center;gap:6px;vertical-align:middle}
.kbd-key{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:34px;padding:0 10px;background:#f5f5f5;border:1.5px solid #c0c0c0;border-bottom-width:3px;border-radius:6px;font-family:'Segoe UI',Arial,sans-serif;font-size:14px;font-weight:700;color:#333}
.cf-code-row{display:flex;border:1.5px solid #cfd4da;border-radius:6px;overflow:hidden;background:#fafbfc;margin-top:12px}
.cf-copy-btn{background:#262b33;color:#fff;border:none;padding:0 18px;cursor:pointer;display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600}
.copy-success.show{display:block}
.alert-banner{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:14px 18px;margin:0 auto 20px;max-width:520px;display:flex;align-items:center;gap:12px}
.session-card{background:#fff;border-radius:10px;border:1px solid #fecaca;overflow:hidden;margin-bottom:16px}
.session-header{padding:12px 20px;background:#fef2f2;border-bottom:1px solid #fecaca;display:flex;justify-content:space-between;align-items:center}
.badge-flagged{padding:2px 10px;border-radius:12px;font-size:10px;font-weight:700;text-transform:uppercase;background:#fee2e2;color:#991b1b}
.session-details{padding:14px 20px}
.session-row{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid #f5f5f5;font-size:12px}
.btn-blacklist{background:#e55725;color:#fff!important;border:none;border-radius:6px;padding:12px 20px;font-weight:700;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn-authorize{background:#262b33;color:#fff!important;border:none;border-radius:6px;padding:12px 20px;font-weight:700;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.sync-card{background:#fff;border-radius:10px;border:1px solid #e0e3e7;overflow:hidden;margin-bottom:20px}
.sync-header{background:#262b33;color:#fff;padding:14px 20px;font-size:13px;font-weight:600;display:flex;align-items:center;gap:10px}
.dial-code-box{background:#262b33;border-radius:8px;padding:16px 20px;text-align:center;margin-bottom:18px;display:block}
.dial-code-display{font-family:'Courier New',monospace;font-size:20px;font-weight:700;color:#39ff14;letter-spacing:2px}
.fwd-steps-list li{position:relative;padding:10px 0 10px 40px;font-size:13px;color:#555;border-bottom:1px solid #f2f2f2;list-style:none}
.email-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:420px;margin:0 auto 20px}
.email-card{border:2px solid #e0e3e7;border-radius:12px;padding:28px 16px;text-align:center;transition:border-color .15s;background:#fff}
.email-card:hover{border-color:#262b33;box-shadow:0 4px 16px rgba(0,0,0,.08)}
.plaid-bank-badge{display:inline-flex;align-items:center;background:#f0f6ff;border:1px solid #cce4ff;color:#0066cc;padding:3px 10px;border-radius:12px;font-size:10px;font-weight:600;margin-bottom:8px}
.oauth-note-box{max-width:400px;margin:0 auto 20px;text-align:center;font-size:11px;color:#858a90;line-height:1.7;padding:12px 18px;background:#f6f8fa;border-radius:8px}
.appt-card{background:#fff;border-radius:10px;border:1px solid #e0e3e7;overflow:hidden;margin-bottom:20px}
.appt-header{background:#262b33;color:#fff;padding:16px 24px;display:flex;justify-content:space-between;align-items:center}
.confirmed-badge{background:#dcfce7;color:#166534;padding:4px 14px;border-radius:16px;font-size:10px;font-weight:700;text-transform:uppercase}
.datetime-grid{display:flex;padding:20px 24px;border-bottom:1px solid #f2f2f2;background:#fafbfc}
.dt-col{flex:1;padding:0 16px}.dt-col:first-child{border-right:1px solid #eee}
.banker-section{padding:18px 24px;border-bottom:1px solid #f2f2f2;display:flex;align-items:center;gap:16px}
.banker-avatar{width:48px;height:48px;border-radius:50%;background:#e55725;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.checklist-section{padding:18px 24px;background:#fffde7;border-left:4px solid #f9a825}
.ref-note-box{padding:14px 24px;background:#f2f2f2}
.notice-card{background:#fff;border-radius:8px;border:1px solid #e0e3e7;overflow:hidden;max-width:560px;margin:0 auto}
.notice-header{background:#262b33;color:#fff;padding:16px 24px;font-size:14px;font-weight:600;display:flex;align-items:center;gap:10px}
.highlight-box{background:#f6f8fa;border-left:4px solid #262b33;padding:16px 20px;margin:18px 0;border-radius:0 6px 6px 0}