/* MrGold Signature Footer v6.6 — deliberate, readable, responsive.
   Isolated UI skin: does not affect auth, financial logic, tenant or branch scope. */
.mrgold-footer.footer {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  box-sizing: border-box;
  min-height: 100px;
  margin: 38px 0 4px;
  padding: 20px clamp(18px,2.1vw,30px);
  border: 1px solid var(--line,#e0e9f3);
  border-top: 2px solid #d5ad65;
  border-radius: 18px;
  background: var(--panel,#fff);
  box-shadow: 0 6px 26px rgba(17,47,75,.045);
  color: var(--ink,#11283f);
  font-size: 13.5px;
  line-height: 1.55;
}
.mrgold-footer-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}
.mrgold-footer-emblem {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid #f0dfbc;
  border-radius: 14px;
  background: linear-gradient(135deg,#fff9ee,#f7e5c3);
  color: #a87329;
}
.mrgold-footer-emblem svg {width: 29px;height: 29px;display: block}
.mrgold-footer-wordmark {display:flex;flex-direction:column;gap:2px;min-width:0}
.mrgold-footer-wordmark>strong {
  font-size: 19px;
  letter-spacing: -.6px;
  font-weight: 850;
  line-height: 1.1;
  color: var(--ink,#11283f);
}
.mrgold-footer-wordmark>strong span {color:#ba8737}
.mrgold-footer-wordmark>small {
  font-size:12.5px;
  font-weight:500;
  line-height:1.45;
  color:var(--muted,#6e7b88);
}
.mrgold-footer-legal {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap: 8px 13px;
  color:var(--muted,#6e7b88);
  font-size:13.5px;
  font-weight:530;
  line-height:1.5;
  font-variant-numeric: tabular-nums;
}
.mrgold-footer-copyright {color:var(--ink,#11283f)}
.mrgold-footer-copyright strong {font-weight:820}
.mrgold-footer-credit strong {color:var(--ink,#11283f);font-weight:760}
.mrgold-footer-rule {
  display:block;
  height:18px;
  width:1px;
  background:var(--line,#e0e9f3);
}
/* Footer inside navy sidebar, intentionally understated */
.sidebar .sidebar-footer {
  margin-top:auto;
  padding: 18px 14px 10px;
  border-top:1px solid rgba(232,201,142,.18);
}
.sidebar-signature {display:flex;flex-direction:column;gap:5px;margin-top:14px;line-height:1.45}
.sidebar .sidebar-signature>strong {
  display:block;
  font-size:12px;
  font-weight:850;
  letter-spacing:1px;
  color:#f0d4a3;
  margin:0;
}
.sidebar .sidebar-signature>strong span {color:#d2ad70}
.sidebar .sidebar-signature>small {
  display:block;
  color:#adbdcd;
  font-size:11.5px;
  font-weight:500;
  letter-spacing:.05px;
}
/* Legal copy on sign-in screen */
.login-left-foot {font-size:13px;line-height:1.6;gap:12px}
.login-right-foot {font-size:12.5px;line-height:1.55;text-align:center;max-width:95%}
.login-footer-separator {padding:0 5px;color:#c6a56a}
body.dark .mrgold-footer.footer {box-shadow:0 8px 29px rgba(0,0,0,.13);border-top-color:#bd954c}
body.dark .mrgold-footer-emblem {
  border-color:rgba(220,176,100,.25);
  background:linear-gradient(135deg,#3d3427,#292c31);
  color:#edc77b;
}
body.dark .mrgold-footer-wordmark>strong span{color:#e0bd77}
@media(max-width:1270px) {
  .mrgold-footer.footer {align-items:flex-start}
  .mrgold-footer-legal {justify-content:flex-start}
}
@media(max-width:760px) {
  .mrgold-footer.footer {gap:16px;min-height:0;margin-top:28px;padding:18px 17px;border-radius:15px}
  .mrgold-footer-emblem {width:42px;height:42px;flex-basis:42px;border-radius:12px}
  .mrgold-footer-wordmark>strong {font-size:18px}
  .mrgold-footer-wordmark>small {font-size:12px}
  .mrgold-footer-legal {width:100%;gap:5px 0;flex-direction:column;align-items:flex-start;font-size:13px;padding-top:13px;border-top:1px solid var(--line,#e0e9f3)}
  .mrgold-footer-rule {display:none}
  .login-left-foot{font-size:12.5px}
  .login-right-foot{font-size:12.5px}
}
@media(max-width:350px) {
  .mrgold-footer.footer {padding:15px 13px}
  .mrgold-footer-wordmark>small {font-size:11.5px}
  .mrgold-footer-legal{font-size:12.5px}
}
