﻿/* =====================================================
   SKAN LAYOUT - COMPLETE FINAL
   File: Skanweb/wwwroot/css/skan-layout.css
   Purpose:
   - Authenticated shell layout: Client / Provider / Seller
   - Fixed left menu + fixed topbar on desktop
   - Only authenticated content scrolls
   - Public pages keep normal page scrolling
   - Public top navigation
   - User menu and notification popup
   ===================================================== */

:root {
    --sk-shell-bg: #f6f9fb;
    --sk-shell-sidebar-bg: #ffffff;
    --sk-shell-main-bg: #f7fafc;
    --sk-shell-border: rgba(15, 84, 140, .10);
    --sk-shell-border-soft: rgba(15, 84, 140, .075);
    --sk-shell-text: #102033;
    --sk-shell-muted: #64748b;
    --sk-shell-blue: #0f548c;
    --sk-shell-blue-dark: #003d59;
    --sk-shell-green: #006e64;
    --sk-shell-green-dark: #005164;
    --sk-shell-card: #ffffff;
    --sk-shell-shadow: 0 18px 46px rgba(0, 61, 89, .075);
    --sk-shell-shadow-soft: 0 10px 28px rgba(0, 61, 89, .055);
    --sk-shell-radius: 24px;
}

/* =====================================================
   GENERAL SAFETY
   Do not lock html/body scrolling globally.
   Public pages must remain scrollable.
   ===================================================== */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* =====================================================
   AUTHENTICATED APP SHELL
   Used by: ClientShell.razor, ProviderShell.razor, SellerShell when present
   Structure expected:
   .sk-app-shell
      .sk-app-sidebar
      .sk-app-main
          .sk-app-topbar
          .sk-app-content
   ===================================================== */

.sk-app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    background: var(--sk-shell-main-bg);
    color: var(--sk-shell-text);
}

.sk-app-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px 18px;
    background: var(--sk-shell-sidebar-bg);
    border-right: 1px solid var(--sk-shell-border-soft);
    box-shadow: 10px 0 32px rgba(0, 61, 89, .035);
    z-index: 10;
}

.sk-app-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--sk-shell-main-bg);
}

.sk-app-content {
    min-width: 0;
    width: 100%;
    padding: 22px 24px 42px;
}

    .sk-app-content > * {
        min-width: 0;
        max-width: 100%;
    }

/* =====================================================
   BRAND / LOGO
   ===================================================== */

.sk-brand,
.sk-app-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--sk-shell-blue-dark);
    text-decoration: none;
}

    .sk-brand:hover,
    .sk-app-brand:hover {
        color: var(--sk-shell-blue-dark);
        text-decoration: none;
    }

.sk-brand-logo {
    width: 154px;
    min-height: 76px;
    display: inline-flex;
    align-items: center;
    color: var(--sk-shell-blue-dark);
    padding: 4px 2px;
    text-decoration: none;
    line-height: 1;
}

.sk-brand-logo__svg {
    width: 154px;
    height: auto;
    display: block;
    overflow: visible;
}

.sk-brand-logo__text {
    font-family: inherit;
    font-weight: 950;
    font-style: italic;
    letter-spacing: -.055em;
    fill: currentColor;
}

.sk-brand-logo__text-main {
    font-size: 52px;
}

.sk-brand-logo__text-sub {
    font-size: 48px;
}

.sk-app-brand span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sk-shell-blue), var(--sk-shell-green));
    font-weight: 900;
}

.sk-app-brand strong {
    font-size: 1.1rem;
    font-weight: 920;
    letter-spacing: -.025em;
    white-space: nowrap;
}

/* =====================================================
   ROLE SIDEBAR MENU
   Used by: Skanweb.Shared/Components/Layout/RoleSidebarMenu.razor
   ===================================================== */

.sk-app-sidebar .sk-role-menu {
    display: grid;
    gap: 7px;
    width: 100%;
    margin-top: 10px;
}

    .sk-app-sidebar .sk-role-menu a {
        min-height: 48px;
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr);
        align-items: center;
        gap: 11px;
        padding: 0 14px;
        border-radius: 16px;
        color: var(--sk-shell-muted);
        background: transparent;
        text-decoration: none;
        font-size: .94rem;
        font-weight: 760;
        line-height: 1.15;
        letter-spacing: -.01em;
        border: 1px solid transparent;
        transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
    }

        .sk-app-sidebar .sk-role-menu a > span:first-child {
            width: 32px;
            height: 32px;
            display: grid;
            place-items: center;
            border-radius: 12px;
            color: var(--sk-shell-blue);
            background: rgba(15, 84, 140, .075);
            transition: background .16s ease, color .16s ease;
        }

        .sk-app-sidebar .sk-role-menu a i {
            width: auto;
            color: inherit;
            font-size: .96rem;
            text-align: center;
        }

        .sk-app-sidebar .sk-role-menu a:hover {
            color: var(--sk-shell-blue-dark);
            background: rgba(15, 84, 140, .065);
            border-color: rgba(15, 84, 140, .08);
            transform: translateX(2px);
        }

            .sk-app-sidebar .sk-role-menu a:hover > span:first-child {
                color: var(--sk-shell-blue-dark);
                background: rgba(15, 84, 140, .12);
            }

        .sk-app-sidebar .sk-role-menu a.active {
            color: var(--sk-shell-blue-dark);
            background: linear-gradient(135deg, rgba(15, 84, 140, .11), rgba(0, 110, 100, .08));
            border-color: rgba(15, 84, 140, .13);
            box-shadow: var(--sk-shell-shadow-soft);
        }

            .sk-app-sidebar .sk-role-menu a.active > span:first-child {
                color: #ffffff;
                background: linear-gradient(135deg, var(--sk-shell-blue), var(--sk-shell-green));
            }

.sk-provider-shell .sk-app-sidebar .sk-role-menu a.active,
.sk-provider-shell .sk-app-sidebar .sk-role-menu a:hover {
    color: var(--sk-shell-green-dark);
    background: linear-gradient(135deg, rgba(0, 110, 100, .12), rgba(15, 84, 140, .06));
    border-color: rgba(0, 110, 100, .14);
}

    .sk-provider-shell .sk-app-sidebar .sk-role-menu a.active > span:first-child {
        background: linear-gradient(135deg, var(--sk-shell-green), var(--sk-shell-green-dark));
    }

.sk-app-sidebar .sk-role-menu a:focus-visible {
    outline: 3px solid rgba(15, 84, 140, .22);
    outline-offset: 2px;
}

/* =====================================================
   LEGACY MENU COMPATIBILITY
   ===================================================== */

.sk-app-menu {
    display: grid;
    gap: 7px;
    width: 100%;
}

    .sk-app-menu a:not(.sk-role-menu a) {
        min-height: 48px;
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr);
        align-items: center;
        gap: 11px;
        padding: 0 14px;
        border-radius: 16px;
        color: var(--sk-shell-muted);
        text-decoration: none;
        font-size: .94rem;
        font-weight: 760;
        border: 1px solid transparent;
    }

        .sk-app-menu a:not(.sk-role-menu a) > span:first-child {
            width: 32px;
            height: 32px;
            display: grid;
            place-items: center;
            border-radius: 12px;
            color: var(--sk-shell-blue);
            background: rgba(15, 84, 140, .075);
        }

        .sk-app-menu a:not(.sk-role-menu a):hover,
        .sk-app-menu a:not(.sk-role-menu a).active {
            color: var(--sk-shell-blue-dark);
            background: rgba(15, 84, 140, .07);
        }

/* =====================================================
   TOPBAR
   ===================================================== */

.sk-app-topbar {
    position: sticky;
    top: 0;
    z-index: 8;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 24px;
    background: rgba(247, 250, 252, .88);
    border-bottom: 1px solid var(--sk-shell-border-soft);
    backdrop-filter: blur(14px);
}

    .sk-app-topbar h1 {
        margin: 0;
        color: var(--sk-shell-text);
        font-size: clamp(1.35rem, 2vw, 2rem);
        line-height: 1.12;
        font-weight: 900;
        letter-spacing: -.045em;
    }

.sk-app-kicker {
    display: inline-flex;
    margin-bottom: 5px;
    color: var(--sk-shell-blue);
    font-size: .76rem;
    font-weight: 820;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sk-provider-shell .sk-app-kicker {
    color: var(--sk-shell-green-dark);
}

/* =====================================================
   USER MENU
   ===================================================== */

.sk-shell-user-menu {
    justify-self: end;
}

.sk-app-topbar .sk-user-menu {
    margin-left: auto;
}

.sk-user-menu {
    position: relative;
}

    .sk-user-menu summary {
        min-height: 46px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 5px 12px 5px 6px;
        border-radius: 999px;
        background: #ffffff;
        border: 1px solid var(--sk-shell-border);
        box-shadow: var(--sk-shell-shadow-soft);
        cursor: pointer;
        list-style: none;
    }

        .sk-user-menu summary::-webkit-details-marker {
            display: none;
        }

.sk-user-avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sk-shell-blue), var(--sk-shell-green));
    font-size: .85rem;
    font-weight: 900;
}

.sk-provider-shell .sk-user-avatar {
    background: linear-gradient(135deg, var(--sk-shell-green), var(--sk-shell-green-dark));
}

.sk-user-name {
    max-width: 160px;
    overflow: hidden;
    color: var(--sk-shell-text);
    font-size: .88rem;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sk-user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 210px;
    display: grid;
    gap: 4px;
    padding: 8px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--sk-shell-border);
    box-shadow: 0 20px 48px rgba(0, 61, 89, .14);
    z-index: 3000;
}

    .sk-user-dropdown a,
    .sk-user-dropdown button {
        min-height: 40px;
        display: flex;
        align-items: center;
        padding: 0 12px;
        border: 0;
        border-radius: 12px;
        color: var(--sk-shell-muted);
        background: transparent;
        text-align: left;
        text-decoration: none;
        font-size: .9rem;
        font-weight: 720;
        cursor: pointer;
    }

        .sk-user-dropdown a:hover,
        .sk-user-dropdown button:hover {
            color: var(--sk-shell-blue-dark);
            background: rgba(15, 84, 140, .075);
        }

    .sk-user-dropdown .sk-logout-link,
    .sk-user-dropdown form button {
        color: #b42318;
    }

    .sk-user-dropdown form {
        margin: 0;
    }

        .sk-user-dropdown form button {
            width: 100%;
        }

/* =====================================================
   DASHBOARD HELPERS
   ===================================================== */

.sk-panel {
    padding: 20px;
    border-radius: var(--sk-shell-radius);
    background: var(--sk-shell-card);
    border: 1px solid var(--sk-shell-border);
    box-shadow: var(--sk-shell-shadow);
}

.sk-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

    .sk-panel-head span {
        display: inline-flex;
        margin-bottom: 5px;
        color: var(--sk-shell-blue);
        font-size: .76rem;
        font-weight: 820;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .sk-panel-head h2 {
        margin: 0;
        color: var(--sk-shell-text);
        font-size: 1.28rem;
        font-weight: 880;
        letter-spacing: -.035em;
    }

    .sk-panel-head a {
        color: var(--sk-shell-blue);
        font-size: .88rem;
        font-weight: 780;
        text-decoration: none;
    }

        .sk-panel-head a:hover {
            text-decoration: underline;
        }

.sk-dash-grid,
.sk-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sk-dash-stat,
.sk-skeleton-card {
    min-height: 112px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid var(--sk-shell-border);
    box-shadow: var(--sk-shell-shadow-soft);
}

    .sk-dash-stat span {
        display: block;
        color: var(--sk-shell-muted);
        font-size: .82rem;
        font-weight: 720;
    }

    .sk-dash-stat strong {
        display: block;
        margin-top: 9px;
        color: var(--sk-shell-blue-dark);
        font-size: 1.75rem;
        line-height: 1;
        font-weight: 900;
    }

.sk-provider-shell .sk-dash-stat strong {
    color: var(--sk-shell-green-dark);
}

.sk-request-list {
    display: grid;
    gap: 10px;
}

.sk-request-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: var(--sk-shell-bg);
    border: 1px solid rgba(15, 84, 140, .075);
}

    .sk-request-row h3 {
        margin: 0;
        color: var(--sk-shell-text);
        font-size: 1rem;
        font-weight: 820;
        letter-spacing: -.02em;
    }

    .sk-request-row p {
        margin: 6px 0 0;
        color: var(--sk-shell-muted);
        font-size: .86rem;
        line-height: 1.48;
    }

    .sk-request-row > a {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 14px;
        border-radius: 999px;
        color: #ffffff;
        background: linear-gradient(135deg, var(--sk-shell-blue), var(--sk-shell-green));
        font-size: .84rem;
        font-weight: 780;
        text-decoration: none;
    }

.sk-provider-shell .sk-request-row > a {
    background: linear-gradient(135deg, var(--sk-shell-green), var(--sk-shell-green-dark));
}

.sk-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

    .sk-tags span {
        min-height: 26px;
        display: inline-flex;
        align-items: center;
        padding: 0 10px;
        border-radius: 999px;
        color: var(--sk-shell-blue-dark);
        background: rgba(15, 84, 140, .08);
        font-size: .74rem;
        font-weight: 760;
    }

.sk-provider-shell .sk-tags span {
    color: var(--sk-shell-green-dark);
    background: rgba(0, 110, 100, .09);
}

.sk-skeleton-card {
    background: linear-gradient(90deg, #eef4f8, #f8fbfd, #eef4f8);
    background-size: 220% 100%;
    animation: skLayoutPulse 1.1s linear infinite;
}

@keyframes skLayoutPulse {
    to {
        background-position: -220% 0;
    }
}

/* =====================================================
   PUBLIC TOP NAV
   Used by: PublicTopNav.razor
   ===================================================== */

.sk-public-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(15, 84, 140, .08);
    backdrop-filter: blur(16px);
}

.sk-public-nav__inner {
    max-width: 1240px;
    min-height: 78px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    margin: 0 auto;
    padding: 8px 22px;
}

.sk-public-nav .sk-brand-logo {
    width: 126px;
    min-height: 56px;
    color: #003d59;
}

.sk-public-nav .sk-brand-logo__svg {
    width: 126px;
}

.sk-public-nav__links {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

    .sk-public-nav__links::-webkit-scrollbar {
        display: none;
    }

    .sk-public-nav__links a {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        padding: 0 13px;
        border-radius: 999px;
        color: #64748b;
        text-decoration: none;
        font-size: .9rem;
        font-weight: 760;
        letter-spacing: -.01em;
        border: 1px solid transparent;
        transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
    }

        .sk-public-nav__links a:hover {
            color: #003d59;
            background: rgba(15, 84, 140, .065);
            border-color: rgba(15, 84, 140, .08);
        }

        .sk-public-nav__links a.active {
            color: #003d59;
            background: linear-gradient(135deg, rgba(15, 84, 140, .11), rgba(0, 110, 100, .08));
            border-color: rgba(15, 84, 140, .12);
        }

.sk-public-nav__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.sk-link-btn,
.sk-join-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 999px;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 800;
    white-space: nowrap;
}

.sk-link-btn {
    color: #0f548c;
    background: rgba(15, 84, 140, .075);
}

.sk-join-btn {
    color: #ffffff;
    background: linear-gradient(135deg, #0f548c, #006e64);
    box-shadow: 0 12px 28px rgba(15, 84, 140, .18);
}

    .sk-link-btn:hover,
    .sk-join-btn:hover {
        transform: translateY(-1px);
    }

.sk-top-user-menu summary {
    min-height: 42px;
    box-shadow: 0 10px 26px rgba(0, 61, 89, .07);
}

/* =====================================================
   NOTIFICATION BELL + POPUP
   Used by: WebNotificationBell.razor
   ===================================================== */

.sk-notification-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.sk-notification-bell__button {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(15, 84, 140, .10);
    border-radius: 999px;
    color: #0f548c;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(0, 61, 89, .07);
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}

    .sk-notification-bell__button:hover {
        color: #003d59;
        background: #f2f8fb;
        border-color: rgba(15, 84, 140, .16);
        transform: translateY(-1px);
    }

    .sk-notification-bell__button i {
        font-size: 1.05rem;
    }

.sk-notification-bell__count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 999px;
    color: #ffffff;
    background: #e11d48;
    border: 2px solid #ffffff;
    font-size: .68rem;
    line-height: 1;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(225, 29, 72, .28);
}

.sk-notification-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(390px, calc(100vw - 24px));
    max-height: min(620px, calc(100vh - 110px));
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 84, 140, .12);
    box-shadow: 0 28px 70px rgba(0, 61, 89, .18);
    z-index: 3000;
}

    .sk-notification-panel::before {
        content: "";
        position: absolute;
        top: -7px;
        right: 22px;
        width: 14px;
        height: 14px;
        background: #ffffff;
        border-left: 1px solid rgba(15, 84, 140, .12);
        border-top: 1px solid rgba(15, 84, 140, .12);
        transform: rotate(45deg);
    }

.sk-notification-panel__head {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 18px 14px;
    background: linear-gradient(135deg, rgba(15, 84, 140, .08), rgba(0, 110, 100, .06));
    border-bottom: 1px solid rgba(15, 84, 140, .08);
}

    .sk-notification-panel__head span {
        display: block;
        margin-bottom: 4px;
        color: #0f548c;
        font-size: .72rem;
        font-weight: 850;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .sk-notification-panel__head h3 {
        margin: 0;
        color: #102033;
        font-size: 1.18rem;
        font-weight: 900;
        letter-spacing: -.035em;
    }

.sk-notification-close {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    border: 0;
    border-radius: 999px;
    color: #64748b;
    background: rgba(255, 255, 255, .76);
    cursor: pointer;
}

    .sk-notification-close:hover {
        color: #003d59;
        background: #ffffff;
    }

.sk-notification-tabs {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(15, 84, 140, .08);
    scrollbar-width: none;
}

    .sk-notification-tabs::-webkit-scrollbar {
        display: none;
    }

    .sk-notification-tabs button {
        min-height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        padding: 0 11px;
        border: 1px solid rgba(15, 84, 140, .08);
        border-radius: 999px;
        color: #64748b;
        background: #f7fafc;
        font-size: .78rem;
        font-weight: 800;
        cursor: pointer;
    }

        .sk-notification-tabs button:hover,
        .sk-notification-tabs button.active {
            color: #003d59;
            background: rgba(15, 84, 140, .085);
            border-color: rgba(15, 84, 140, .14);
        }

.sk-notification-list {
    min-height: 220px;
    overflow-y: auto;
    padding: 8px;
    background: #ffffff;
}

.sk-notification-row {
    width: 100%;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    padding: 10px;
    border: 0;
    border-radius: 18px;
    color: inherit;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background .16s ease, transform .16s ease;
}

    .sk-notification-row:hover {
        background: rgba(15, 84, 140, .055);
    }

    .sk-notification-row.unread {
        background: rgba(15, 84, 140, .07);
    }

        .sk-notification-row.unread:hover {
            background: rgba(15, 84, 140, .10);
        }

.sk-notification-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #0f548c;
    background: rgba(15, 84, 140, .09);
}

    .sk-notification-icon.message {
        color: #0f548c;
        background: rgba(15, 84, 140, .10);
    }

    .sk-notification-icon.request {
        color: #006e64;
        background: rgba(0, 110, 100, .11);
    }

    .sk-notification-icon.item {
        color: #92400e;
        background: rgba(245, 158, 11, .14);
    }

    .sk-notification-icon.campaign {
        color: #7c3aed;
        background: rgba(124, 58, 237, .12);
    }

    .sk-notification-icon.advice {
        color: #0369a1;
        background: rgba(3, 105, 161, .11);
    }

    .sk-notification-icon.alert {
        color: #b42318;
        background: rgba(180, 35, 24, .11);
    }

.sk-notification-body {
    min-width: 0;
    display: grid;
    gap: 3px;
}

    .sk-notification-body strong {
        color: #102033;
        font-size: .91rem;
        font-weight: 860;
        line-height: 1.22;
        letter-spacing: -.015em;
    }

    .sk-notification-body small {
        display: -webkit-box;
        overflow: hidden;
        color: #64748b;
        font-size: .8rem;
        line-height: 1.35;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .sk-notification-body em {
        color: #94a3b8;
        font-size: .72rem;
        font-style: normal;
        font-weight: 760;
    }

.sk-notification-empty {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 24px 18px;
    color: #64748b;
    text-align: center;
}

    .sk-notification-empty i {
        width: 54px;
        height: 54px;
        display: grid;
        place-items: center;
        border-radius: 20px;
        color: #0f548c;
        background: rgba(15, 84, 140, .08);
        font-size: 1.25rem;
    }

    .sk-notification-empty strong {
        color: #102033;
        font-size: 1rem;
        font-weight: 880;
    }

    .sk-notification-empty span {
        max-width: 260px;
        font-size: .84rem;
        line-height: 1.42;
    }

.sk-notification-panel__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid rgba(15, 84, 140, .08);
    background: #f8fbfd;
}

    .sk-notification-panel__foot button,
    .sk-notification-panel__foot a {
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 0 11px;
        border: 0;
        border-radius: 999px;
        color: #0f548c;
        background: transparent;
        text-decoration: none;
        font-size: .8rem;
        font-weight: 820;
        cursor: pointer;
    }

        .sk-notification-panel__foot button:hover,
        .sk-notification-panel__foot a:hover {
            background: rgba(15, 84, 140, .075);
        }

        .sk-notification-panel__foot button:disabled {
            opacity: .45;
            cursor: not-allowed;
        }

/* =====================================================
   FIXED AUTHENTICATED SHELL - DESKTOP ONLY
   Public pages are safe because this targets only .sk-app-shell.
   ===================================================== */

@media (min-width: 981px) {
    .sk-app-shell {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        display: grid !important;
        grid-template-columns: 280px minmax(0, 1fr) !important;
        overflow: hidden !important;
        background: var(--sk-shell-main-bg, #f7fafc);
    }

    .sk-app-sidebar {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 280px !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 0 !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        scrollbar-width: thin;
        z-index: 20 !important;
    }

    .sk-app-main {
        min-width: 0 !important;
        min-height: 0 !important;
        height: 100vh !important;
        height: 100dvh !important;
        display: grid !important;
        grid-template-rows: auto minmax(0, 1fr) !important;
        overflow: hidden !important;
    }

    .sk-app-topbar {
        position: relative !important;
        top: auto !important;
        z-index: 15 !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 84px !important;
        box-sizing: border-box !important;
    }

    .sk-app-content {
        min-width: 0 !important;
        min-height: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        box-sizing: border-box !important;
        scrollbar-width: thin;
    }

        .sk-app-content > * {
            min-width: 0 !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }

    .sk-user-dropdown,
    .sk-notification-panel,
    .ifd-menu {
        z-index: 3000 !important;
    }
}

/* =====================================================
   RESPONSIVE AUTH SHELL
   ===================================================== */

@media (max-width: 1100px) and (min-width: 981px) {
    .sk-app-shell {
        grid-template-columns: 240px minmax(0, 1fr) !important;
    }

    .sk-app-sidebar {
        width: 240px !important;
        padding: 18px 14px;
    }
}

@media (max-width: 980px) {
    .sk-app-shell {
        display: block;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .sk-app-main,
    .sk-app-content {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .sk-app-sidebar {
        position: static !important;
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 14px;
        border-right: 0;
        border-bottom: 1px solid var(--sk-shell-border-soft);
        box-shadow: none;
        overflow: visible !important;
    }

    .sk-brand-logo {
        width: 134px;
        min-height: 62px;
    }

    .sk-brand-logo__svg {
        width: 134px;
    }

    .sk-app-sidebar .sk-role-menu,
    .sk-app-menu {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        margin-top: 8px;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

        .sk-app-sidebar .sk-role-menu::-webkit-scrollbar,
        .sk-app-menu::-webkit-scrollbar {
            display: none;
        }

        .sk-app-sidebar .sk-role-menu a,
        .sk-app-menu a:not(.sk-role-menu a) {
            min-height: 44px;
            grid-template-columns: 28px max-content;
            flex: 0 0 auto;
            gap: 9px;
            padding: 0 12px;
            border-radius: 14px;
            font-size: .88rem;
        }

            .sk-app-sidebar .sk-role-menu a > span:first-child,
            .sk-app-menu a:not(.sk-role-menu a) > span:first-child {
                width: 28px;
                height: 28px;
                border-radius: 10px;
            }

    .sk-app-topbar {
        position: static;
        min-height: auto;
        padding: 16px;
    }

    .sk-app-content {
        padding: 16px 14px 34px;
        overflow-x: hidden !important;
    }

    .sk-dash-grid,
    .sk-skeleton-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1080px) {
    .sk-public-nav__inner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .sk-public-nav__links {
        grid-column: 1 / -1;
        order: 3;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .sk-public-nav__actions {
        justify-self: end;
    }
}

@media (max-width: 720px) {
    .sk-public-nav__inner {
        gap: 10px;
        padding: 8px 12px 10px;
    }

    .sk-public-nav .sk-brand-logo {
        width: 112px;
        min-height: 48px;
    }

    .sk-public-nav .sk-brand-logo__svg {
        width: 112px;
    }

    .sk-public-nav__actions {
        gap: 7px;
    }

    .sk-public-nav__links a {
        min-height: 36px;
        padding: 0 11px;
        font-size: .82rem;
    }

    .sk-link-btn,
    .sk-join-btn {
        min-height: 36px;
        padding: 0 12px;
        font-size: .82rem;
    }

    .sk-notification-bell__button {
        width: 38px;
        height: 38px;
    }

    .sk-notification-panel {
        position: fixed;
        top: 72px;
        right: 10px;
        left: 10px;
        width: auto;
        max-height: calc(100vh - 86px);
        border-radius: 22px;
    }

        .sk-notification-panel::before {
            display: none;
        }

    .sk-user-name {
        display: none;
    }
}

@media (max-width: 680px) {
    .sk-app-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .sk-shell-user-menu,
    .sk-user-menu,
    .sk-user-menu summary {
        width: 100%;
    }

        .sk-user-menu summary {
            justify-content: flex-start;
        }

    .sk-user-dropdown {
        left: 0;
        right: auto;
        width: 100%;
    }

    .sk-panel,
    .sk-dash-stat,
    .sk-request-row {
        border-radius: 18px;
    }

    .sk-request-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

        .sk-request-row > a {
            width: 100%;
        }
}
