.app-layout {
    display: grid;
    grid-template-columns: 180px 1fr 420px;
    grid-template-rows: 1fr 100px;
    height: 100vh;
    width: 100vw;
    position: relative;
    z-index: 2;
    gap: 16px;
    padding: 16px;
    padding-bottom: 0;
}

.glass-card {
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: background 1s var(--ease-out), border-color 1s var(--ease-out);
}

.sidebar {
    padding: 30px 15px;
    background: var(--sidebar-bg);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    padding-left: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-item {
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-out);
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.nav-item.active {
    background-color: var(--c-active-bg) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main-area {
    padding: 25px 35px;
    overflow-y: auto;
}

.main-area::-webkit-scrollbar {
    width: 0;
}

.right-panel {
    padding: 30px 10px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Top Bar (Header) */
.top-bar {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 10px;
    width: 100%;
    height: 42px;
    position: relative;
    z-index: 50;
}

.list-actions-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

/* Responsive Layout */
@media (max-width: 1000px) {
    .app-layout {
        grid-template-columns: 70px 1fr;
        grid-template-rows: 1fr 100px;
    }

    .right-panel {
        display: none;
    }

    .sidebar {
        padding: 20px 5px;
        align-items: center;
    }

    .logo span,
    .nav-item span {
        display: none;
    }
}