/* JustApply site-consistent skin for the UserSpice auth pages (forgot/reset password, etc.).
   Loaded LAST by usersc/templates/justapply/header.php so it overrides the legacy Remit template CSS,
   bringing these pages in line with the ja5 site (Montserrat, brand blue/orange, site inputs & cards). */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

body, .wrapper, .home_wrapper, .container, input, button, select, textarea,
h1, h2, h3, h4, h5, .btn {
  font-family:'Montserrat',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif !important;
}
body { background:#f4f7fa !important; color:#20303c; }

/* --- header bar: clean white, logo left, sign-in right --- */
.top_front { background:#fff !important; border-bottom:1px solid #e6ebf0 !important; box-shadow:0 1px 3px rgba(16,42,67,.06); }
.top_front .wrapper { padding:14px 22px !important; }
.top_front .logo { margin-left:0 !important; }
.top_front a { color:#09487d !important; font-weight:600; text-decoration:none !important; }
.top_front a:hover { color:#f36717 !important; }

/* --- headings --- */
h1, h2, h3 { color:#09487d !important; font-weight:800 !important; }
h1 { font-size:26px !important; margin-bottom:14px !important; }

/* --- content presented as a centred site card --- */
.frontMiddle_area, .home_wrapper { background:transparent !important; }
#page-wrapper .container { max-width:640px; margin:30px auto 40px; background:#fff; border:1px solid #e6ebf0;
  border-radius:14px; box-shadow:0 8px 24px rgba(9,72,125,.08); padding:28px 30px; }
#page-wrapper .container ol { color:#5f7183; font-size:14px; padding-left:18px; margin-bottom:18px; }

/* --- form fields match the ja5 site --- */
.form-control { border:1.5px solid #d6e2ee !important; border-radius:10px !important; padding:11px 12px !important;
  height:auto !important; font-size:15px !important; background:#f7fafd !important; box-shadow:none !important; color:#20303c !important; }
.form-control:focus { border-color:#2176bd !important; background:#fff !important; box-shadow:0 0 0 3px rgba(33,118,189,.16) !important; }
label { color:#5f7183 !important; font-weight:600 !important; margin-bottom:6px; }

/* --- primary action button = brand orange (matches site CTAs) --- */
.btn-primary { background:#f36717 !important; background-image:none !important; border:0 !important; border-radius:9px !important;
  font-weight:700 !important; padding:11px 26px !important; color:#fff !important; box-shadow:0 4px 12px rgba(239,95,16,.28) !important; }
.btn-primary:hover, .btn-primary:focus { background:#d9550b !important; color:#fff !important; }

/* --- alerts & links --- */
.alert-danger { border-radius:10px; }
a { color:#09487d; }
a:hover { color:#f36717; }

/* --- real JustApply top navigation on logged-out auth pages (forgot/reset/login) --- */
.ja-us-header { background:#fff; border-bottom:1px solid #e6ebf0; box-shadow:0 1px 3px rgba(16,42,67,.06); }
.ja-us-navrow { max-width:1140px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 18px; padding:12px 22px; }
.ja-us-logo img { height:48px; width:auto; display:block; }
.ja-us-header .ja-us-links { display:flex !important; align-items:center; gap:8px 22px; flex-wrap:wrap; float:none; }
.ja-us-link { color:#20303c !important; font-weight:600; font-size:15px; text-decoration:none !important; }
.ja-us-link:hover { color:#09487d !important; }
.ja-us-header .ja-nav-btn { display:inline-flex; align-items:center; gap:7px; height:42px; padding:0 22px; border-radius:8px; font-weight:600; font-size:14.5px; line-height:1; text-decoration:none !important; white-space:nowrap; }
.ja-us-header .ja-nav-btn-outline { background:#fff; color:#09487d !important; border:2px solid #09487d !important; }
.ja-us-header .ja-nav-btn-outline:hover { background:#09487d; color:#fff !important; }
.ja-us-header .ja-nav-btn-primary { background:#f36717; color:#fff !important; border:2px solid #f36717 !important; box-shadow:0 3px 10px rgba(243,103,23,.28); }
.ja-us-header .ja-nav-btn-primary:hover { background:#d9550b; border-color:#d9550b !important; color:#fff !important; }
.ja-us-contactbar { background:#09487d; }
.ja-us-contactbar-inner { max-width:1140px; margin:0 auto; padding:8px 22px; display:flex; gap:22px; flex-wrap:wrap; }
.ja-us-contactbar-inner a { color:#fff !important; font-size:13.5px; text-decoration:none !important; opacity:.95; }
.ja-us-contactbar-inner a:hover { opacity:1; color:#fff !important; }
@media(max-width:640px){ .ja-us-navrow{justify-content:center} .ja-us-links{justify-content:center} .ja-us-header .ja-nav-btn{height:38px;padding:0 16px} }
