@charset "utf-8";

.seilsa-sidebar-shell,
.seilsa-sidebar-shell * {
    font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.seilsa-sidebar-shell.sidebar-dark.sidebar-main {
    width: 17.5rem;
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.98), rgba(9, 15, 27, 0.98));
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(226, 232, 240, 0.84);
}

.sidebar-mobile-toggler {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(226, 232, 240, 0.62);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sidebar-mobile-toggler a {
    color: rgba(248, 250, 252, 0.88);
}

.seilsa-sidebar-user {
    margin-top: 0;
}

.seilsa-sidebar-user .card-body {
    margin: 0.85rem 0.9rem 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 34%),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
}

.seilsa-sidebar-user .media-title {
    color: #e2e8f0;
    font-weight: 700;
    font-size: 0.92rem;
}

.seilsa-sidebar-user .font-size-xs {
    color: rgba(226, 232, 240, 0.62);
}

.seilsa-sidebar-user img.rounded-circle {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.seilsa-sidebar-card {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.seilsa-sidebar-section-label {
    padding: 0 1rem 0.45rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(148, 163, 184, 0.72);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nav-sidebar {
    padding: 0 0.55rem 0.85rem;
}

.nav-sidebar > .nav-item > .nav-link,
.nav-sidebar .nav-item-submenu > .nav-link {
    font-weight: 600;
    font-size: 0.86rem;
    color: rgba(226, 232, 240, 0.78);
    letter-spacing: -0.01em;
    padding: 0.78rem 0.9rem;
    border-radius: 14px;
    margin-bottom: 0.18rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}

.nav-sidebar .nav-item-submenu > .nav-link i {
    color: rgba(191, 219, 254, 0.82);
    margin-right: 0 !important;
    font-size: 0.95rem;
}

.nav-sidebar .nav-item-submenu > .nav-link:hover,
.nav-sidebar .nav-item-submenu.nav-item-open > .nav-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(1px);
}

.nav-sidebar .nav-item-submenu.nav-item-open > .nav-link {
    box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.12);
}

.nav-sidebar .nav-group-sub {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0.3rem 0 0.75rem 0.5rem;
    padding: 0.35rem 0;
    border-radius: 14px;
}

.nav-sidebar .nav-group-sub .nav-link {
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.7);
    padding: 0.62rem 0.85rem 0.62rem 1rem;
    border-radius: 10px;
    margin: 0.1rem 0.35rem;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}

.nav-sidebar .nav-group-sub .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    transform: translateX(1px);
}

.nav-sidebar .nav-group-sub .nav-link.active {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.30), rgba(37, 99, 235, 0.18));
    color: #ffffff;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.12);
}

.nav-item-submenu > .nav-link:after {
    color: rgba(226, 232, 240, 0.48);
}

.seilsa-menu-fallback-icon {
    opacity: 0.85;
}

.seilsa-sidebar-favorites {
    margin: auto 0.9rem 1rem;
    padding: 0.9rem 0.95rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.seilsa-sidebar-favorites-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 700;
}

.seilsa-sidebar-favorites-head a {
    color: rgba(125, 211, 252, 0.92);
}

.seilsa-sidebar-favorites-list {
    display: grid;
    gap: 0.35rem;
}

.seilsa-favorite-item {
    display: grid;
    gap: 0.16rem;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    border: 1px solid transparent;
    color: #0f172a;
    background: #ffffff;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.seilsa-favorite-item:hover {
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.seilsa-favorite-item-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
}

.seilsa-favorite-item-path {
    font-size: 0.7rem;
    color: #64748b;
}

.seilsa-favorite-body {
    max-height: 320px;
}

.seilsa-favorite-empty {
    padding: 1rem;
    font-size: 0.78rem;
    color: #64748b;
    text-align: center;
}

.nx-profile-flyout {
    position: fixed;
    left: -9999px;
    top: -9999px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-6px);
    transition: opacity .12s ease, transform .12s ease, visibility .12s ease;
}

body.sidebar-xs .sidebar-user:hover .nx-profile-flyout {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.nx-profile-card {
    width: 290px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    position: relative;
}

.nx-profile-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 10%, rgba(96, 165, 250, 0.18), transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(167, 139, 250, 0.12), transparent 55%);
}

.nx-profile-head {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 0.85rem;
    padding: 0.95rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nx-profile-avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    flex: 0 0 auto;
}

.nx-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nx-profile-meta {
    min-width: 0;
    display: grid;
    gap: 0.15rem;
}

.nx-profile-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: rgba(231, 237, 247, 0.98);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nx-profile-id {
    font-size: 0.75rem;
    color: rgba(231, 237, 247, 0.70);
}

.nx-profile-company {
    margin-top: 0.05rem;
    font-size: 0.68rem;
    color: rgba(231, 237, 247, 0.55);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nx-profile-foot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.95rem 0.9rem;
    color: rgba(231, 237, 247, 0.62);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nx-profile-foot .nx-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #67e8f9, #60a5fa, #a5b4fc);
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.35);
    display: inline-block;
}

body.sidebar-xs .seilsa-sidebar-shell {
    width: 5rem;
}

body.sidebar-xs .seilsa-sidebar-user .card-body {
    margin-left: 0.45rem;
    margin-right: 0.45rem;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
}

body.sidebar-xs .seilsa-sidebar-section-label,
body.sidebar-xs .seilsa-sidebar-favorites {
    display: none;
}

body.sidebar-xs .nav-sidebar {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}

body.sidebar-xs .nav-sidebar > .nav-item > .nav-link,
body.sidebar-xs .nav-sidebar .nav-item-submenu > .nav-link {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

body.sidebar-xs .nav-sidebar .nav-item-submenu > .nav-link > i {
    margin-right: 0 !important;
}

body.sidebar-xs .nav-sidebar .nav-item-submenu > .nav-link > span {
    display: none;
}

body.seilsa-authenticated.seilsa-dark-mode .seilsa-sidebar-favorites {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(148, 163, 184, 0.16);
}

body.seilsa-authenticated.seilsa-dark-mode .seilsa-favorite-item {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.16);
}

body.seilsa-authenticated.seilsa-dark-mode .seilsa-favorite-item-title {
    color: #e2e8f0;
}

body.seilsa-authenticated.seilsa-dark-mode .seilsa-favorite-item-path,
body.seilsa-authenticated.seilsa-dark-mode .seilsa-favorite-empty {
    color: #94a3b8;
}

@media (hover: none) {
    .nx-profile-flyout {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .seilsa-sidebar-shell.sidebar-dark.sidebar-main {
        width: 17rem;
    }
}
