
/* -------------------------------------------------------
   MyFinance.cloud · Branding & Footer
   ------------------------------------------------------- */

.myfinance-footer {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 20px;
  margin: 26px 0 6px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 23px;
  background:
    radial-gradient(circle at 94% 0%, rgba(56,189,248,.16), transparent 34%),
    radial-gradient(circle at 7% 115%, rgba(129,140,248,.15), transparent 36%),
    rgba(15,23,42,.47);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.myfinance-footer::after {
  position: absolute;
  inset: auto -15% -80% auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(186,230,253,.13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.myfinance-footer-main,
.myfinance-footer-bottom,
.myfinance-footer-brand,
.myfinance-footer-actions,
.myfinance-auth-footer {
  display: flex;
  align-items: center;
}

.myfinance-footer-main {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 22px;
}

.myfinance-footer-brand-wrap {
  min-width: 0;
}

.myfinance-footer-brand {
  width: fit-content;
  gap: 10px;
  color: #f8fafc;
  text-decoration: none;
}

.myfinance-brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(125,211,252,.42);
  border-radius: 12px;
  color: #e0f2fe;
  background: linear-gradient(135deg, rgba(56,189,248,.32), rgba(129,140,248,.32));
  box-shadow: 0 8px 22px rgba(2,132,199,.16);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: -.03em;
}

.myfinance-brand-name {
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -.035em;
}

.myfinance-brand-name span,
.myfinance-auth-brand i {
  color: #7dd3fc;
  font-style: normal;
}

.myfinance-footer-brand-wrap p {
  max-width: 470px;
  margin: 8px 0 0;
  color: #94a3b8;
  font-size: .87rem;
  line-height: 1.5;
}

.myfinance-footer-actions {
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.myfinance-footer-actions a,
.myfinance-footer-status {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;
  color: #cbd5e1;
  background: rgba(15,23,42,.38);
  font-size: .76rem;
  font-weight: 780;
  text-decoration: none;
}

.myfinance-footer-actions a:hover {
  border-color: rgba(125,211,252,.42);
  color: #e0f2fe;
  background: rgba(14,116,144,.18);
}

.myfinance-footer-status {
  color: #bbf7d0;
}

.myfinance-footer-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.14);
}

.myfinance-footer-bottom {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 14px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: #64748b;
  font-size: .75rem;
}

.myfinance-auth-footer {
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 18px auto 0;
  color: #64748b;
  font-size: .76rem;
  text-align: center;
}

.myfinance-auth-footer > span:not(:last-child)::after {
  margin-left: 12px;
  color: rgba(148,163,184,.52);
  content: "•";
}

.myfinance-auth-brand {
  color: #dbeafe;
  font-weight: 900;
  letter-spacing: -.03em;
}

.settings-shell > .myfinance-footer {
  margin-top: 20px;
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .myfinance-footer {
    gap: 17px;
    margin-top: 18px;
    padding: 19px;
    border-radius: 20px;
  }

  .myfinance-footer-main,
  .myfinance-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .myfinance-footer-actions {
    justify-content: flex-start;
  }

  .myfinance-footer-bottom {
    gap: 5px;
  }

  .myfinance-auth-footer {
    max-width: 320px;
    line-height: 1.45;
  }

  .myfinance-auth-footer > span:not(:last-child)::after {
    display: none;
  }
}
