/* =============================================================================
   The footer on every page, and the social media icons in it.
   Humera, 3 Oct 2026: "Have a footer on every website, the same things" and
   "Put the images of those [LinkedIn, Facebook, Instagram]. So people can
   click on it."

   Loaded by base.html, the homepage and the log-in pages. Those last pages do
   not load design-system.css, so every colour here carries its own value as
   well as the shared name.
   ========================================================================== */

/* ── the icons (used in every footer) ─────────────────────────────────────── */
.social-icons {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.social-icons .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    line-height: 0;
}
.social-icons svg {
    width: 20px;
    height: 20px;
    display: block;
}
/* The icons sit on the same line as the words beside them. */
.has-sidebar .app-footer-links,
.footer-links {
    align-items: center;
}

/* ── the footer on pages that are not behind the sign-in ──────────────────── */
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 40px;
    padding: 20px 32px;
    background: var(--rm-navy-950, #171a2d);
    font-family: 'DM Sans', Arial, sans-serif;
}
.site-footer-brand {
    color: #ffffff;
    font-family: var(--rm-font-display, 'DM Serif Display', Georgia, serif);
    font-size: 14px;
}
.site-footer-brand span {
    color: var(--rm-amber-600, #d99200);
}
.site-footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.site-footer a,
.site-footer-copy {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    text-decoration: none;
}
.site-footer a:hover {
    color: var(--rm-amber-500, #f0a500);
}

/* Log in, Sign up, Forgot password: two panels side by side, footer under
   both. The panels sit in .auth-panels so the footer can take the full width
   below them without changing how the panels themselves are laid out. */
.auth-panels {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
}
.auth-panels + .site-footer {
    margin-top: 0;
}
@media (max-width: 700px) {
    .auth-panels { flex-direction: column; }
    .site-footer { padding: 18px 20px; justify-content: center; text-align: center; }
    .site-footer-links { justify-content: center; }
}
