/* public/assets/shortking/css/footer.css
   Shared ShortKing footer (used on every page through shortking-footer.blade.php).
   Self-contained: all rules start with .sk-site-footer. */

.sk-site-footer {
    background: #fff;
    border-top: 1px solid #e5e9e6;
    color: #7b8491;
    font: 12px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    flex-shrink: 0;
}
.sk-site-footer *, .sk-site-footer *::before, .sk-site-footer *::after { box-sizing: border-box; }
.sk-site-footer a { color: inherit; text-decoration: none; }
.sk-site-footer a:hover { color: #20242c; text-decoration: underline; }

.sk-site-footer__inner {
    max-width: 1160px; margin: auto; padding: 25px 22px;
    display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; flex-wrap: wrap;
}

/* Keep the footer at the bottom of the window on short pages (login, thanks, ...).
   Only applied where :has() is supported; elsewhere the footer simply follows the content. */
body:has(.sk-site-footer) { display: flex; flex-direction: column; min-height: 100vh; }
body:has(.sk-site-footer) > main,
body:has(.sk-site-footer) > .sk-page-wrap { flex: 1 0 auto; width: 100%; }
