/* public/assets/shortking/css/header.css
   Shared ShortKing header (used on every page through shortking-header.blade.php).
   Self-contained: all rules start with .sk-header, so it works next to the inline styles of each page. */

.sk-header {
    position: sticky; top: 0; z-index: 50;
    background: #ffffffec; backdrop-filter: blur(15px);
    border-bottom: 1px solid #e5e9e6;
    font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #18201e;
}
.sk-header *, .sk-header *::before, .sk-header *::after { box-sizing: border-box; }
.sk-header a { color: inherit; text-decoration: none; }

.sk-header__impersonate { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; padding: 8px 18px; background: #252a32; color: #fff; font-size: 13px; }
.sk-header__impersonate a { padding: 3px 11px; border-radius: 8px; background: #fff; color: #252a32; font-weight: 700; }
.sk-header__impersonate a:hover { background: #e8f8ef; }

.sk-header__nav { max-width: 1160px; margin: auto; display: flex; align-items: center; gap: 24px; padding: 14px 22px; }
.sk-header__logo { font-weight: 850; font-size: 26px; letter-spacing: -1.3px; white-space: nowrap; }
.sk-header__logo span { color: #31a975; }

.sk-header__links { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-left: auto; }
.sk-header__links a,
.sk-header__links button {
    padding: 9px 10px; border-radius: 10px; font: inherit; font-size: 13px; line-height: 1.55;
    color: #4e5853; background: none; border: 0; cursor: pointer;
}
.sk-header__links a:hover,
.sk-header__links button:hover,
.sk-header__links a.is-active { background: #e8f8ef; color: #15271d; }
.sk-header__links a:focus-visible,
.sk-header__links button:focus-visible { outline: 2px solid #31a975; outline-offset: 1px; }

.sk-header__logout { margin: 0; display: inline; }
.sk-header__crown { font-size: 31px; line-height: 1; }

@media (max-width: 850px) {
    .sk-header__nav { flex-wrap: wrap; gap: 8px; padding: 12px 18px; }
    .sk-header__links { order: 3; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; width: 100%; margin: 0; }
    .sk-header__crown { margin-left: auto; }
}
