.app-shell {
    display: flex;
    align-items: stretch;
    gap: 14px;
    min-height: 100vh;
    padding: 12px;
    box-sizing: border-box;
    background: #0b0f14;
}

.app-main {
    flex: 1;
    min-width: 0;
}

.app-main > .content {
    padding-left: 0.75rem !important;
    padding-right: 1rem !important;
}

.app-sidebar {
    display: flex;
    flex-direction: column;
    width: 252px;
    min-width: 252px;
    height: calc(100vh - 24px);
    position: sticky;
    top: 12px;
    overflow: hidden;
    border-radius: 20px;
    background: #161d27;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 18px 40px rgba(0, 0, 0, 0.38);
}

.app-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.85rem 0.85rem 0.35rem;
    padding: 0.7rem 0.75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none !important;
    color: #f3f6f9 !important;
}

.app-sidebar-brand:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff !important;
    text-decoration: none !important;
}

.app-sidebar-mark {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 10px;
    background: radial-gradient(circle at 30% 30%, #7dd3fc, #2563eb 70%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.app-sidebar-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
}

.app-sidebar-title {
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-sidebar-kicker {
    margin-top: 0.12rem;
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #93c5fd;
}

.app-sidebar-nav {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0.45rem 0.45rem 0.2rem;
}

.app-side-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.85rem;
}

.app-side-label {
    padding: 0.45rem 0.85rem 0.2rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8092a3;
}

.app-sidebar a.app-side-item,
.app-sidebar button.app-side-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    margin: 0;
    padding: 0.32rem 0.42rem 0.32rem 0.32rem;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #d5dee7 !important;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    text-decoration: none !important;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.app-sidebar a.app-side-item:hover,
.app-sidebar button.app-side-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
    text-decoration: none !important;
}

.app-sidebar a.app-side-item.active {
    background: rgba(125, 211, 252, 0.14);
    color: #fff !important;
}

.app-side-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.05rem;
    height: 2.05rem;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #c5d4e3;
}

.app-sidebar a.app-side-item:hover .app-side-icon,
.app-sidebar button.app-side-item:hover .app-side-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.app-sidebar a.app-side-item.active .app-side-icon {
    background: rgba(125, 211, 252, 0.22);
    color: #7dd3fc;
}

.app-side-icon .oi {
    font-size: 0.78rem;
    width: auto;
    top: 0;
}

.app-sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin: 0.35rem 0.45rem 0.55rem;
    padding: 0.35rem;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
}

.app-side-form {
    margin: 0;
    width: 100%;
}

.app-sidebar-nav::-webkit-scrollbar {
    width: 8px;
}

.app-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 99px;
}
